display.safeScreenOriginY always zero on real iPhoneX build with Corona native

I use Corona-3205 Native sample “SimpleLuaExtension” to print “display.safeScreenOriginY”.

It always shows zero ( build with XCode), that different with Corona Simulator and running on iPhoneX device build with Corona Simulator.

I’ve set:

UILaunchStoryboardName = “LaunchScreen”

width = 768,

height = 1024,

scale = “zoomEven”

print(display.safeScreenOriginY) shows:

on Corona Simulator: 27.093595504761

on iPhoneX build with Corona Server: 27.093595504761

on iPhoneX build with XCode(Corona Native): 0

Can anyone help me?

What is the question?

Hello roaminggamer:

The question is:

Why the value of “display.safeScreenOriginY” is different when App run on iPhoneX device and on Corona Simulator?

Did I miss something to change my XCode project (copy from Native/Samples folder)?

I’ve asked engineering about this, but I don’t expect an answer until Monday.

Rob

Dear Rob Miracle:

Thank you very much~

ps: Happy new year

What is the question?

Hello roaminggamer:

The question is:

Why the value of “display.safeScreenOriginY” is different when App run on iPhoneX device and on Corona Simulator?

Did I miss something to change my XCode project (copy from Native/Samples folder)?

I’ve asked engineering about this, but I don’t expect an answer until Monday.

Rob

Dear Rob Miracle:

Thank you very much~

ps: Happy new year