Question by
nati8oy · Jul 31, 2020 at 01:09 AM ·
iosuser interfacegenerationdevice
Can you detect iOS generation or device type from within the Unity environment?
Is there a way to detect the "device" that is running in Unity in play mode? For example, when I have "iPhone XS portrait" selected in the game window, can I get Unity to spit out or react to that? Can I make the UI flip into Screen Space Overlay mode (instead of World Space) for a particular resolution without having to run it in the Xcode simulator?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613004518im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Image Effects keep on rendering 0 Answers
Signal SIGABRT in XCODE. How to solve it ? 0 Answers
how can we use iPhone camera as a webcam in a Windows Platform? 0 Answers
How to detect iPhone X or iPad using iOS.DeviceGeneration? 1 Answer
Is it possible to select any iOS Device in Editor Settings 0 Answers