Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 storyboard navigation bar width not full width for iPhone 6

The navigation bar width stays 320 even for iPhone 6 (which needs 375)

There is no change of navigation bar appearance or frame via code.

Simple view controller embedded in UINavigationController

Simulator-Screenshot

Xcode says the width on the storyboard is still 320, (and it doesn't allow me to change).

Storyboard-Screenshot

EDIT: The Navigation Controller in question has a storyboard identifier and is being presented modally over another view controller.

like image 351
sambhav7890 Avatar asked Oct 29 '14 08:10

sambhav7890


1 Answers

try adding your navigation controller programatically and then push or present the view controller. This should work

like image 70
Nilesh Ukey Avatar answered Nov 15 '22 19:11

Nilesh Ukey