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

+1

By tomekwsrod at Feb. 4, 2017, 6:51 p.m. (reply...)

+1

+1

By David.norman.w at Oct. 31, 2016, 6:14 p.m. (reply...)

+1

By alexruperez at Oct. 26, 2016, 10:48 a.m. (reply...)

Duplicate of 28734714 (Open)

By guillaume.algis at Oct. 26, 2016, 8:40 a.m. (reply...)

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!