-8

I am developing an iOS app for the iphone 5 (4-inch screen). It looks fine on the 4-inch retina display but when i run it on a 3.5-inch retina display, the screen appears distorted.

Your suggestions will be appreciated.

Thank you!!!

Michael Frederick
  • 16,664
  • 3
  • 43
  • 58
tushar
  • 85
  • 1
  • 1
  • 5

4 Answers4

2

Use Autolayouts to manage it for 3.5 and 4 inches screen

Divyam shukla
  • 2,038
  • 14
  • 18
1

It depends for which iOS version you are developing your app. If you are developing for iOS 6 then you can use Autolayouts. And if you are developing your app for lower versions the you can use AutoResizing feature.

Hope it helps you.

Nishant Tyagi
  • 9,893
  • 3
  • 40
  • 61
1

You need to make condition for in code to use it in iPhone 4 & iPhone 4S. and some place you can use auto layout of UI Components.

iPhone developer.
  • 2,122
  • 1
  • 16
  • 17
0

I prefer you to use different xib files for 4-inch and 3.5-inch screen.

Jabson
  • 1,585
  • 1
  • 12
  • 16