Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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.

Navigation Bar Image Issue

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.

like image 795
Ashish Kakkad Avatar asked Sep 22 '16 07:09

Ashish Kakkad


1 Answers

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

like image 84
Amanpreet Avatar answered Oct 16 '22 04:10

Amanpreet