iPhone : How to prevent screen stretching into 4-inch display

iphone, iphone-5

Solution

By default iPhone apps run letterboxed on iPhone 5 (4-inch display), unless you add a `Default-568h@2x.png` launch image.

If you added a `Default-568h@2x.png` image (or it has been added by XCode) and you want to go back to the letterboxing mode, you will need to

- remove the `Default-568h@2x.png` file

- run a clean build (⌥⇧⌘ + K)

- remove the app from the device/simulator

Now build and run the application and it should run letterboxed again.

Problem

I just want my app to be seen in 3.5-inch area even though it is on iPhone 4-inch display. I unchecked 'Autolayout' all of the views in IB files but it still uses fullscreen. Is there any other options for it? How can I prevent my app to use 4-inch fullscreen?

Original source