Identifying iPhone/iTouch version?

Previous topic - Next topic

Dark Schneider

The idea is to identify old versions of iPhone/iTouch to set the LIMITFPS 30 on them and 60 on newer ones. Old iDevices have really no speed at all and they are not able to run almost any game at 60 FPS.

Have someone tested if this works?
http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk

So for iPhone1,1 and iPod1,1 we'd use 30 FPS and 60 FPS otherwise.

Millerszone

Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

Dark Schneider