Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Unity 5 - Screen.width and Screen.height backwards for iOS 7

$
0
0
I'm using Unity 5.0.0p3, and it would appear that Screen.width and Screen.height values are backwards for devices using iOS 7, but are fine for devices using iOS 8.

Working devices:

iPhone 6 with OS version 8.1.3, width and height reads as 1920x1080
iPhone 5 with OS version 8.1.2, width and height reads as 1136x640

Non-working devices:

iPod Touch (5th gen) with OS version 7.0.4, width and height reads as 640x1136
iPhone 4 with OS version 7.0, width and height reads as 640x960

Viewing all articles
Browse latest Browse all 10823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>