Determine device (iPhone, iPod Touch) with iPhone SDK


/ Published in: Objective C
Save to your folder(s)

Here is how to determine the device type.\r\n\r\nHow to use it.\r\n\r\nUIDeviceHardware *h=[[UIDeviceHardware alloc] init];\r\n[self setDeviceModel:[h platformString]]; \r\n[h release];

URL: http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.