Return to Snippet

Revision: 23075
at January 29, 2010 11:38 by espinallab


Initial Code
NSString *deviceType = [UIDevice currentDevice].model;

 

if([deviceType isEqualToString:@"iPhone"])

// it's an iPhone

Initial URL
http://iphonesdksnippets.com/post/2009/12/09/Determine-the-device-running-an-application.aspx

Initial Description

                                

Initial Title
Determine the device running an application

Initial Tags

                                

Initial Language
Objective C