I have a view with two UILabel (simulating a header and a footer) and a UIScrollView placed between them vertically:
However, if I start the application in simulator the UIScrollV开发者_开发问答iew goes a few pixels up while the rest of elements remain in their position:
Is it normal that behaviour? How can I place the UIScrollView exactly at the position I want?
Thanks!
This looks like you have set the scrollview to have a flexible height, but fixed bottom margin. Check the springs and struts settings for your view, found in layout page.
精彩评论