Storyboard warning: 'Frame for "Navigation Bar" will be different at run time'
Originator: | guillaume.algis | ||
Number: | rdar://28844288 | Date Originated: | 2016-10-19 |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | |
Classification: | Reproducible: | Always |
Summary: When using a UINavigationController in a storyboard, we're getting a warning "Frame for "Navigation Bar" will be different at run time". Using the "Update Frames" button does nothing. Only setting the View Controller's simulated size from "Fixed" to "Freeform" solves the issue. The View Controller's simulated metrics are all set to "Inferred". Steps to Reproduce: 1. Add a UINavigationController to a Storyboard 2. Compile the project Expected Results: No warnings Actual Results: A "Frame for "Navigation Bar" will be different at run time" warning appears, and Interface Builder reports Misplaced Views (the Navigation Bar). Version: Xcode 8.0 Xcode 8.1 beta (8T47) Notes: Somehow, "xcrun ibtool --warnings --errors --notices Foobar.storyboard" reports nothing wrong. Configuration: Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
+1
+1
+1
+1
Duplicate of 28734714 (Open)