The dimensions of the device are appearing differently in the simulator vs after build.
For example, the dimensions of the iPhone 6 in the simulator are:
display.pixelWidth = 750
display.pixelHeight = 1334
(aspect ratio = 1.778)
However, when I build the app in xCode for the same device (iPhone 6) the dimensions appear:
display.pixelWidth = 640
display.pixelHeight = 960
This leads to an aspect ratio of 1.5 and is causing significant problems in the placement of objects.
Does anyone know why this is happening and how I can fix it?
Thanks in advance!
KC