Probably a simple question for experienced Xcode 5 interface builder users, but it is difficult to find the answer on Google:
I have an app for iPhone, which doesn't use a navigation controller (here fullscreen):
The view scene on the very right side has an image view and 5 labels underneath it - to display user details:
Then I have created another iPhone app and copied that "details" view to it (here fullscreen):
And now a warning is shown by Xcode 5.0.2:
Frame for "Image View" will be different at run time.
Is it because some space on the top of the view will be occupied by the navigation bar?
And how to fix it please?
I've tried clicking the [-o-] icon, but instead of resolving my layout issue it has messed the whole layout (the labels jumped to the left).
Also I've tried setting checkboxes on the right side in the Xcode Attributes Inspector, but haven't be able to find any good combination there (and I am not sure what "inferred" means in Xcode context).
UPDATE:
Ossir's suggestion has worked for me, thank you.
I'm posting a new screenshot (here fullscreen) in case anybody have more improvement suggestions:
I found that unchecking the Adjust Scroll View Insets checkbox for the navigation controller in question cleared the warning
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With