Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

loon3y

macrumors 65816
Original poster
Oct 21, 2011
1,235
126
I have a image view and text view inside a scroll view, and I've been having some scrolling problems.




dq6wlu.png





as u see from the picture it cuts off, when i scroll down sometimes it scrolls the text view down only, or sometimes it does both.


i think it would get confusing for a user when this happens especially if their not iPhone savvy.



any suggestions on how to fix this??
 
I don't fully understand your question, you have an image view, and a text view in a scroll view. Are you able to provide the code that creates this? And/or a screenshot of the app with the image in place, and before & after scrolling?
 
Get the size requirements of the text, resize the UITextView based on text size. Then disable scrolling inside of the UITextView. Also make sure it's a subview of UIScrollView.

Hope this helps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.