I am using Xcode 5 developer preview. When I change or add a in the XIB file from interface builder Xcode shows this warning:
Frame for Button will be different at run time.
How do I remove this warning?
This warning is displayed when the actual position of the element is different in your storyboard than while running the app.
You can select that element and then hit Option+Cmd+=.
This will update the position of the element in the storyboard and that warning will go away.
You can also find this option in menu under Editor > Resolve Auto Layout Issues > Update Frames
.
Probably you have created a conflict in constraints. To resolve it Open nib file Go to editor > Resolve all constraint issues> from there you can reset all/desired constraints.
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