How to make iPhone4 and lower version of the application compatible for iPhone5?

I have an application on the iphone market that works for iPhone 4s and a lower version. So, now iPhone 5 has been launched with a large size screen, my question is that all the changes I have to make in my application so that it is compatible with iPhone 5.

1) Do I need to rebuild the application for iPhone 5?

2) Do I need to make changes only to the interface?

3) Will the iPhone 5 be compatible?

Your valuable answers will help me a lot. Thanks in advance.

+8
user-interface ios objective-c iphone compatibility
source share
4 answers

Here are my answers,

1) Do I need to rebuild the application for iPhone 5?

If you want to use the full screen space, you can add Default-568h@2x.png and rebuild the application and release it.

2) Do I need to make changes only to the interface?

You can use the full screen space for iphone 5. You can encode screen changes in case of other iPhones.

3) Will the iPhone 5 be compatible?

Yes. This will make it automatically compatible. It will add a black bar at the top and bottom to compensate for additional screen space if you do not add Default-568h@2x.png .

+3
source share

If your application uses the standard UIKit provided by Apple, you only need to add a 4-inch launcher image to the application and it will automatically resize. But if your application uses custom controls or heavy graphics, like in games, you can customize the images and take advantage of the large screen.

You must also ensure that the methods you used are not deprecated on iOS6 to prevent the application from crashing. Some links if you need to continue reading.

+2
source share

To make an older application compatible with iPhone 5, you need to look for the following things.

  • Latest version of Xcode 4.5.

  • Open the project and select "Update Settings for the New Version."

  • Add a default value for 580h@2x.png for the new resolution.

  • For the user interface, you must change the autoresize property of the xib object. When you select View Go to the inspector and the size selection property. It will show you None, Full Screen, Retina 4. Set the autoresize property for all your buttons, labels and check xib for retina 4 and None both.It is the same as you set it for Landscape and Portrait.

5. Some other changes will be in the code, because some method was depreciated for ios 6.0. 6. After doing all this. You can run it on iphone 5 simulator for testing.

+1
source share

I have an application that uses GLKMatrix3 and its supporting functions. I found that the GLKMatrix3Multiply function will always crash on iPhone 5 hardware. It's easy to get around using GLKMatrix4, but the fact is that I would never have found a problem without trying to use my application on iPhone 5 hardware.

I was told to report an error for a problem with GLKMatrix3, so maybe this will be fixed. But the code works very well in the iOS 6 simulator.

I learned from this that if you need to rebuild the application for the iPhone 5, you need to at least run the application on the device before advertising is supported for this device.

+1
source share

All Articles