iPhoneGeneration.iPhone6 not showing?

I am unable to access iPhone6 from the iPhone enumeration list when handling different devices. Does anyone know of a quick fix or hack to this issue?

All other enumerations show…

Unity Version: 4.3.4
Language: C#

Unity 4.3.4 was released before the iPhone 6, so it’s only natural that it doesn’t know anything about it.

You can check for iPhoneGeneration.iPhoneUnknown, but that would also include the 6 plus and any future iPhones. You can also check for the screen resolution, but again the iPhone 6s or possibly 7 will likely be the same.

The best way to detect the iPhone 6/6 plus is to update to the latest version of Unity.

1 Like

Makes sense. Thanks!