Created
June 15, 2010 06:04
-
-
Save igaiga/438754 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)deviceCheck{ | |
NSString* devicemodel = [[UIDevice currentDevice].model lowercaseString]; | |
NSLog(@"device model = %@", devicemodel); | |
// @"ipod touch", @"iphone", @"iphone simulator" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment