Okay, this is *not* rocket science, but I recently changed the default build.settings in Outlaw and thought I’d share it here.
Nothing earth-shattering, it just makes switching from portrait to landscape really quick. I tend to use the same build.settings file from project to project, and now I just copy/paste and change the one variable at the top.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
local whichWay = "portrait" -- set this to portrait or landscape ---------------------------------- local oDefault = "landscapeRight" local oSupported = {"landscapeLeft","landscapeRight"} if whichWay == "portrait" then oDefault = "portrait" oSupported = {"portrait","portraitUpsideDown"} end settings = { orientation = { default = oDefault, supported = { oSupported[1], oSupported[2] }, }, iphone = { plist = { UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, UIStatusBarHidden = true }, }, } |
Set up that plist section with the stuff you normal use and voila, you have a nice little build.settings file you can use for all your projects.