The UI doesn't fill the iPhone 6 plus

I am working on an iOS app and I understand that the ui is not auto stretching to fit the screen when it is running in iPhone 6 plus. So the UI is on the right and there is a lot of free space on the bottom and right sides.

If I set the width of the view to 320 (for example 400), then the view will be wider than 320.

How can I make my views auto stretch to fill the screen?

I have a few more apps and they work great on the iPhone 6 plus.

I couldn't figure out what makes this ui app auto stretch. The only difference I could think of is the creation after the official xcode 6 is released, the rest were created in the beta of xcode 6

Thank!

+3


source to share


2 answers


You should start using auto layouts. Get Started Here: Auto Layout Guide



+1


source


It looks like you have enabled native resolution for iPhone 6 Plus. If you delete the "launch screen file", you can individually control which screen size is supported as a native resolution by adding the appropriate size for the launch images.

enter image description here



enter image description here

enter image description here

+5


source







All Articles