user1601259
user1601259

Reputation: 61

Iphone 5 and Iphone 4 screen issue

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

Upvotes: 1

Views: 207

Answers (2)

Nik
Nik

Reputation: 9431

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

Upvotes: 0

Douglas
Douglas

Reputation: 2524

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.

Upvotes: 3

Related Questions