Search code examples
iosobjective-cxibiphone-5

View is looking good on iphone 4, but is pushed down in iphone 5


So i have this .xib which is adapted to Retina 3.5-inch Full Screen. When I run it on a iphone 4 it looks good, but when I test it on iphone 5 the view is pushed down. How should one adapt iOS-apps to work with different iphone screen sizes?


Solution

  • Put correct autosizing to your view and it's subviews.