Calculate the contentsize of scrollview

Posted by neha on Stack Overflow See other posts from Stack Overflow or by neha
Published on 2010-06-15T15:08:20Z Indexed on 2010/06/15 15:12 UTC
Read the original article Hit count: 254

Filed under:
|
|

Hi all,

I'm having a scrollview as the detailedview of tableview cell. There are multiple views on the detailedview like labels, buttons etc. which I'm creating through interface builder. What I'm creating through interface builder is static. I'm putting everything on a view of height 480.

A label on my detailedview is having dynamic text which can extend to any length. The problem is that I need to set the scrollview's content size for which I need its height.

How shall I set scrollview's height provided the content is dynamic?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiscrollview