objective c - iOS iPhone 6 Autolayout - Full Width and Height -


i designed app work on iphone 5 , want make compatible iphone 6 screens.

when change simulated metrics size iphone 5.5 inch in storyboard, see view no longer full width , height of screen.

enter image description here

how specify width , height should full screen dimensions?

enter image description here

don't change simulated metrics. pick 1 (iphone 5 good, or can go default 600x600 layout) , leave there. make sure auto layout turned on storyboard or xib (the file inspector - first tab on right side). set auto layout constraints on each subview know when main view resized iphone 6 or 6 plus screen sizes.

if want see view looks in interface builder, again, don't change simulated metrics. instead, show assistant editor , select preview popup selection menu @ top left of assistant editor view (it says manual before change it). can use + button @ bottom of view pick different phone sizes. can rotate them.

here's place started auto layout: http://www.raywenderlich.com/83129/beginning-auto-layout-tutorial-swift-part-1


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -