Im looking to create a Universal iOS application.
When running on an iPhone it should support only the Portrait orientation.
When running on an iPad it should only support the Landscape orientation.
Ive tried the following in my build.settings file but all orientation options are still enable when testing on an iPhone device. (The app rotates with the phone in landscape)
Is this kind of configuration possible with Corona?
settings = { orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown", "landscapeRight", "landscapeLeft" } }, iphone = { plist = { UIInterfaceOrientation = "UIInterfaceOrientationPortrait", UISupportedInterfaceOrientations = { "UIInterfaceOrientationPortrait", "UIInterfaceOrientationPortraitUpsideDown" }, UIApplicationExitsOnSuspend = true, UIStatusBarHidden = true, UIPrerenderedIcon = true }, }, }, settings.iphone.plist["UIInterfaceOrientation~ipad"] = "UIInterfaceOrientationLandscapeRight" settings.iphone.plist["UISupportedInterfaceOrientations~ipad"] = { "UIInterfaceOrientationLandscapeRight", "UIInterfaceOrientationLandscapeLeft" }