Like Replyz? Try our sister site Shortmail - where less is more.

Nortiest Icon-twitter @Nortiest

Co-founder of Rodeo Games, a Guildford indie games development studio

Conversations Started by Nortiest

See all 5 conversations

Replies from Nortiest

See all 5 replies

Rodeogames_normal @Nortiest

struct utsname systemInfo; uname(&systemInfo); //check systemInfo.machine

9:29AM Sun, September 04 2011

In reply to: " What is the best way to detect whether the device is an iPad2 or an iPad1? Is there even such a way? " -Asked by @mrfungfung

29

Rodeogames_normal @Nortiest

sys/utsname.h you'll get "iPhonex,y", "iPodx,y" or "iPadx,y" where x and y are version and subversion

9:34AM Sun, September 04 2011

In reply to: " What is the best way to detect whether the device is an iPad2 or an iPad1? Is there even such a way? " -Asked by @mrfungfung

29