Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Problem with ZoomEven on iPhone 6 Plus
Started by claritygames Jun 09 2019 03:00 PM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

claritygames

[GLOBAL: userInfoPane.html]
claritygames
  • Observer

  • 7 posts
  • Enterprise

Hi,

I've been writing a game in landscape mode using zoomEven scaling and mainly testing on my iPhone 6 Plus.  It's been working fine until recently when it started working like it was 'LetterBox' and leaving black bars at the left and the right.

I've done nothing different in code, this seemed to start after a recent os iPhone update.  Is anyone seeing anything similar ?

config.lua:-

 

application = {
	content = {
		width = 768,
		height = 1024, 
		scale = "zoomEven",
		fps = 30,

	},
  
}

build.settings:-

 

settings = 
{ 
	orientation = 
	{
		default = "landscapeRight",
		supported =
		{
			"landscapeLeft",
			"landscapeRight"
		},
					
	},
        iphone = {
			    xcassets = "Images.xcassets",
                plist = {
	    	    UIStatusBarHidden = true,
                UIApplicationExitsOnSuspend = false,
                CFBundleShortVersionString = "0.1",
		         --launch image files table
				UILaunchImages = {
					{  -- iPhone 4 LandscapeLeft
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-Landscape",
						["UILaunchImageOrientation"] = "LandscapeLeft",
						["UILaunchImageSize"] = "{320, 480}"
					},
					{  -- iPhone 4 LandscapeRight
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-Landscape",
						["UILaunchImageOrientation"] = "LandscapeRight",
						["UILaunchImageSize"] = "{320, 480}"
					},
					{  -- iPhone 5 legacy
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-568h",
						["UILaunchImageOrientation"] = "Portrait",
						["UILaunchImageSize"] = "{320, 568}"
					},
					{  -- iPhone 5 LandscapeLeft
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-Landscape-568h",
						["UILaunchImageOrientation"] = "LandscapeLeft",
						["UILaunchImageSize"] = "{320, 568}"
					},
					{  -- iPhone 5 LandscapeRight
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-Landscape-568h",
						["UILaunchImageOrientation"] = "LandscapeRight",
						["UILaunchImageSize"] = "{320, 568}"
					},
					{  -- iPad LandscapeLeft
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-Landscape",
						["UILaunchImageOrientation"] = "LandscapeLeft",
						["UILaunchImageSize"] = "{768, 1024}"
					},
					{  -- iPad LandscapeRight
						["UILaunchImageMinimumOSVersion"] = "7.0",
						["UILaunchImageName"] = "Default-Landscape",
						["UILaunchImageOrientation"] = "LandscapeRight",
						["UILaunchImageSize"] = "{768, 1024}"
					},
					{  -- iPhone 6 LandscapeLeft
						["UILaunchImageMinimumOSVersion"] = "8.0",
						["UILaunchImageName"] = "Default-Landscape-667h",
						["UILaunchImageOrientation"] = "LandscapeLeft",
						["UILaunchImageSize"] = "{375, 667}"
					},
					{  -- iPhone 6 LandscapeRight
						["UILaunchImageMinimumOSVersion"] = "8.0",
						["UILaunchImageName"] = "Default-Landscape-667h",
						["UILaunchImageOrientation"] = "LandscapeRight",
						["UILaunchImageSize"] = "{375, 667}"
					},
					{  -- iPhone 6 Plus LandscapeLeft
						["UILaunchImageMinimumOSVersion"] = "8.0",
						["UILaunchImageName"] = "Default-Landscape-736h",
						["UILaunchImageOrientation"] = "LandscapeLeft",
						["UILaunchImageSize"] = "{414, 736}"
					},
					{  -- iPhone 6 Plus LandscapeRight
						["UILaunchImageMinimumOSVersion"] = "8.0",
						["UILaunchImageName"] = "Default-Landscape-736h",
						["UILaunchImageOrientation"] = "LandscapeRight",
						["UILaunchImageSize"] = "{414, 736}"
					},
					UIStatusBarHidden = true,
                	UIApplicationExitsOnSuspend = false, 
					CFBundleIconFiles = {
						"Icon-40.png",
						"Icon-58.png",
						"Icon-76.png",
						"Icon-80.png",
						"Icon-87.png",
						"Icon-120.png",
						"Icon-152.png",
						"Icon-167.png",
						"Icon-180.png",
					},
				}, 
			}
        }
}

Thanks,

Stephen

 

 



[TOPIC: post.html]
#2

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,110 posts
  • Corona SDK

Your build.settings seems way out of date.  Please check the docs.




[topic_controls]
[/topic_controls]