Saturday, 15 March 2014

ios - how to know what is the actual width of screen from storyboard? -


Now I'm sure how to place a navigation bar which will fit for the screen width.

Here Xcode 6.2

xcode snapshot

< P> The Home Navigation Bar is full width, but when I run the application the width is something like this

Here I am not sure how to create the width of the navigation bar to fill the entire width I do not even know what size is size. That's why I disabled the size class

As far as I can see that you have created your navigation using your own - navigation controller Try.

About your question about size, if you look closely, you will see that you are designing for iPhone 4/5, and your simulator uses the iPhone 6. What you have to do is lack of autolay here, so your ideas have been resized too.

Here is a link to the automatic layout:


No comments:

Post a Comment