iOS insets with 2017.3156 and black bar on left & right sides

Issue 1.

I have been redoing my App and on iOS I noticed it thinks there is an inset.  This is on iPhone 6, I don’t have an iPhone 7/8 to try it on.  May be a bug?

Issue 2.

Using an iPhone 6 in landscapeRight…

I am seeing empty black areas vertical to the left and right of the App. In the Corona SDK simulator those are not showing w/ iPhone 6.  Is there config/build setting I need to set?

Using the Nvidia K1 tablet in landscapeRight…

There are no bars and the content fills the screen.

My config has:

local aspectRatio = display.pixelHeight / display.pixelWidth

local portraitWidth, portraitHeight = 320, 480

application { content {

width = aspectRatio > 1.5 and portraitWidth or math.ceil( portraitHeight / aspectRatio ),

height = aspectRatio < 1.5 and portraitHeight or math.ceil( portraitWidth * aspectRatio ),

scale = “letterbox”,

fps = 60,

}}

For the black bars issue on iOS, solved it thanks to Rob Miracle’s reply for another topic:

https://forums.coronalabs.com/topic/68418-black-bars-on-regular-build-with-iphone-7/?hl=%2Bretina+%2Bbuild+%2Bsetting#entry354744

Thanks Rob!

For the black bars issue on iOS, solved it thanks to Rob Miracle’s reply for another topic:

https://forums.coronalabs.com/topic/68418-black-bars-on-regular-build-with-iphone-7/?hl=%2Bretina+%2Bbuild+%2Bsetting#entry354744

Thanks Rob!