Select Non Retna Display?

Monkey Targets Forums/iOS/Select Non Retna Display?

OvineByDesign(Posted 2011) [#1]
Just running some tests on the iphone4 and immediately spotted that by default the devicewidth/height default to the Retina display settings ( 640 x 960 instead of 320x480 )

Will I have to use a virtual size as per one of the examples?


OvineByDesign(Posted 2011) [#2]
Ah helps if you read up first doesnt it.

For others


In XCODE edit the main.h


#define RETINA_ENABLED set to 0 or 1

also

#define ACCELEROMETER_ENABLED set to 0 or 1


Qube(Posted 2011) [#3]
How does that work if you are doing a universal app that runs on iPad / iPhone Retina and non iPhone Retina devices?

*edit* unless you can enable retina, set the res to 1024x768 and it'll automatically drop down to the max size supported on the device? - You could then use DeviceWidth / Height to see what it's running on.