user3752308
user3752308

Reputation: 55

iPhone 5 to iPhone 4 screen size

I have made an app for the 4-inch iPhone and was wondering how I can make it also run on a 3.5 inch screen without it just cutting off part of the screen. I have read about auto layout but I'm not sure if my project is set up for it. My view controllers are set to landscape and 4 inch display.

Upvotes: 1

Views: 30

Answers (1)

iAhmed
iAhmed

Reputation: 6704

Yes you can design a single screen for all devices (iPhone or iPad) . I recommend watching the WWDC 2012 session Introduction to Auto Layout for iOS and OS X. If you do not want to use auto layout then you have autoresizing masks, that described how a subview will resize or move when its superview is resized.

Refer to These tutorials

Tutorial 1

Tutorial 2

Tutorial 3

Tutorial 4

Hope This Helps

Upvotes: 1

Related Questions