1
votes

I'm creating an app using xcode 4.5 that is meant to support only the 3.5 inch retina display. Thus, in the attributes inspector for the view controller I have set the size to be 3.5 inches. However, I'm testing my app on a iphone 5 and the app auto-resizes to fit the whole screen. Do you know why this is happening? How can i make the app remain in 3.5 inches of size even when viewed off of a iphone 5?

Thanks

2
Why in the world would you want to do this? If I understand you correctly, you want to explicitly not support the iPhone 5?!Robin Kanters
the reason for this is I am a high schooler and I don't want to get into making it support iphone 5 because I would have to learn auto resizing or I would have to draw multiple images for my background image.user1601259
Just remove the splash screen as per answer below and you should be fine.Rog
Actually, i opened a new project and it works in that, thanks!user1601259

2 Answers

3
votes

If you remove the default 568h@2x icon from your project the app will run the way you want. On the iPhone 5, you will get black bars on top and bottom to show what it would look like on the 4. Hope this helps.

0
votes

The answer is - you can't do that :) But you can download ios5 simulator and set it's device property to 3.5 screen device