Rather than create a new thread, this is query about the new iPhones coming out in relation to Unity.

We're almost ready to submit to Apple and have done some code which if it's an DeviceGeneration.iPhoneUnknown & the resolution equals the XS, XR and XS Max, then do the iPhone X adjustments. This works in the simulator, but not entirely sure whether 2017.4.11f1 will treat the new iPhones as a DeviceGeneration.iPhoneUnknown.

Is there an eta when do you think the DeviceGeneration enum will be updated in Unity 2017.4 LTS & 2018 ?

Rather than create a new thread, this is query about the new iPhones coming out in relation to Unity.

We're almost ready to submit to Apple and have done some code which if it's an DeviceGeneration.iPhoneUnknown & the resolution equals the XS, XR and XS Max, then do the iPhone X adjustments. This works in the simulator, but not entirely sure whether 2017.4.11f1 will treat the new iPhones as a DeviceGeneration.iPhoneUnknown.

Is there an eta when do you think the DeviceGeneration enum will be updated in Unity 2017.4 LTS & 2018 ?

Click to expand...

I skip the enums and test directly, that way i dont have to wait, plus im using unity5.6 so im never sure if ill get the enum updates at all in my version:

@protopop huge thanks for the info! When we did the first adjustments for the iPhone X, DeviceGeneration came up in the research. I didn't know there was an alternative and good to know from anecdotal evidence it works too

Oops...

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.