PDA

View Full Version : Scrolling Problem




loon3y
Feb 17, 2012, 05:14 PM
I have a image view and text view inside a scroll view, and I've been having some scrolling problems.




http://i43.tinypic.com/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??



OverByThere
Feb 26, 2012, 06:35 AM
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?

Sykte
Feb 26, 2012, 07:36 AM
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.