iphone - How do I make my app universal? (3.5", 4", and iPad) -


i'm brand new in xcode , have been able scoot simple apps previous programming experience, storyboard in xcode, , of website.

one thing haven't been able figure out how make app universal? way have app set looks lot iphone home screen pages , app icons. however, when hit little "change iphone 5" button, 1) changes firstviewcontroller , 2)my icons out of alignment.

do make storyboard (if so, how?)? make view controller each screen resolution? either of questions program test see device i'm using , choose correct storyboard or viewcontroller? app set universal, still haven't been able find ipad resolution option view controllers , stuff.

please simplistic can. have been doing extremely short time. both here , around site!

so in order ipad version working, follow these steps:

first go target settings, scroll down "deployment info", , change iphone universal step 1

next need create new storyboard file. on bar @ top go file>new>file , thing should pop up: new storyboard after have selected ios>user interface>storyboard shown above, click next , ask iphone or ipad. after selecting ipad, new file ready map interface ipad. however, need make sure app uses it. go target settings , scroll down "deployment info" , switch ipad: ipad settings

set "main interface" option name of new storyboard file.

as preparing iphone 5, part can bit annoying. find additional space small major additions large ignored easily. how deal vary depending on app does. described, app icons iphone screen, want have additional row of icons, ios. this, can either manage programatically or may want have seperate storyboards iphone 4 vs iphone 5. if want separate storyboards, this question have solution.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -