views:

288

answers:

0

Hi,

I am using a UITextView and enabling paging (in both IB and programatically toggling it on and off). There's a lot of text and when scrolling with paging enabled sometimes the first and/or last line of the currently viewable text ends up halfway in view and half out of view at the bottom or top of the frame so you can only see the top or bottom half of that line of text.   (I hope I'm explaining that correctly)

Does anyone know a way to insure that it pages correctly so it there's no lines of text half cut off?? 

A few notes 1. The font size is adjustable by the user. 2. I've tried setContentOffset,setContentInset,setContentSize and it's not helping (unless I'm using them wrong) 3. I am using a txt file to populate the UITextView

Thanks in advance!!