Q:

Xcode 8 Issue : Frame for "Navigation Bar" will be different at run time

When we Embed your view controller in Navigation Controller. Then facing issue with navigation bar.
Xcode 8 Issue : Frame for "Navigation Bar" will be different at run time.

Note : When we hide the navigation bar and show it again then issue gone away. And after when we open the storyboard then issue raise again.
Also I have tried to do as answer given here. It's not working. If you open storyboard again then this issue raise again.
Same issue is there with Xcode 8.1
How can we resolve this issue?

This issue is resolved in Xcode 10.

A:

In View Controller's attribute you can see "Simulated Metrics". Change the "Size" attribute to "Freeform" instead of "Inferred". This will remove the warning.

