Test your app, everything should work magically if you had set auto resizing masks and Auto Layout properly.

If there is something you have to do for the larger screen specifically, then you have to check height of [[UIScreen mainScreen] bounds] (or applicationFrame, but then you need to consider status bar height if it’s present) as there seems to be no specific API for that.

1

2

3

4

5

6

7

8

9

CGRect screenBounds=[[UIScreen mainScreen]bounds];

if(screenBounds.size.height==568)

{

// code for 4-inch screen (iPhone 5)

}

else

{

// code for 3.5-inch screen (iPhone 3G, 3GS, 4 and 4S)

}

Note:If your application supports any rotation other than default, then you should be aware of auto rotation API for new iOS as the auto-rotation API has changed completely for iOS 6. You have to take a look at that as well.