Keep on-screen banner layout between an iPhone 4 and an iPhone 5

0

I have a problem developing the app layout. In the storyboard, I've added UIImageView to display some images while the app is working. This image is at the bottom of the screen, like a footer. But when I simulate on a smaller screen iPhone, in case the iPhone 4 the banner some, because it is in the difference of area of the screens between the iPhone 4 and iPhone 5.

I wonder if there is a way to keep this layout, let UIImageView be allocated a little higher, when the app screen is smaller and may appear.

    
asked by anonymous 31.07.2014 / 19:11

1 answer

1

James,

1 - Disable autolayout

Autolayout off http://imagizer.imageshack.us/v2/450x400q90/674/ARs4F9.png

2 - Align down using Autosizing

Autolayout off http://imagizer.imageshack.us/v2/450x400q90/907/dgaqDY.png

So it will adapt whenever the screen changes size, because the image, or any other element, will be aligned with the bottom of the screen.

    
08.08.2014 / 03:23