Search code examples
iosios6iphone-5

how do I update my old apps to iPhone 5?


Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?

My apps use standard Apple controls. Some of them are really simple (UITableView nested in a UIView) and others are UITextView inside a UIScrollView inside a UIView

When I run the apps on my new iPhone 5, they are letterboxed. How do i update them to take advantage of the new iPhone 5 real estate?


Solution

  • First of all to remove the letter boxing, you let xcode know it should work on the iPhone 5 by adding an iPhone5 sized startup image which will be named Default-568h@2x.png

    Straight away, your app will work without the letter box.

    Then you need to move onto formatting your views to fit. From experience, every UITableView i've had has automatically resized to be longer, but most other views needed some tweaking of the Struts and Springs.