How do I layout an image that will be dynamically sized in interface builder?
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2010-04-11T22:53:54Z
Indexed on
2010/04/12
0:03 UTC
Read the original article
Hit count: 325
I am having trouble laying out scrollable view in interface builder. A screen shot of my layout is here. As you can see the layout is pretty simple. The UIImageView above the text will not have a specific height. It may be 100px high or 300px high. This is why the view is scrollable. I am experiencing two problems with this layout:
1) For some reason the image will sit behind the text instead of pushing it down. Take a look here.
2) The obvious other problem is that the upper most UIImage and UILabel are getting pushed up off of the screen. I am thinking this has to do with the UIScrollView but I haven't been able to figure out why.
Thanks!
© Stack Overflow or respective owner