UiScrollView with scrolling content

Posted by objektivs on Stack Overflow See other posts from Stack Overflow or by objektivs
Published on 2010-05-06T11:45:29Z Indexed on 2010/05/08 6:18 UTC
Read the original article Hit count: 148

Filed under:
|

I have a detail page of type UIScrollView. On it I want an optional UIImageView and a mandatory UITextView. If no image is available then the image view should not take any space. The text for the text view can be of varying sizes.

When the view is loaded with, say, the image and the text I need to be able to scroll through all the contents. So the image slips off the top of the screen.

I just can't get this work and I feel it ought to be easy. Any ideas?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiscrollview