iphone Programming Glossary: platformstring
How to detect iOS device programmatically http://stackoverflow.com/questions/11081904/how-to-detect-ios-device-programmatically class and you can use these UIDevice currentDevice platformType returns UIDevice4GiPhone UIDevice currentDevice platformString returns @ iPhone 4G Or check if its retina BOOL isRetina if UIScreen mainScreen respondsToSelector @selector scale return..
Detect the specific iPhone/iPod touch model [duplicate] http://stackoverflow.com/questions/1108859/detect-the-specific-iphone-ipod-touch-model
ios iphone get device model and make? http://stackoverflow.com/questions/11197509/ios-iphone-get-device-model-and-make extension by Erica Sadun . Sample Code UIDevice currentDevice platformType ex UIDevice4GiPhone UIDevice currentDevice platformString ex @ iPhone 4G OR You can use this method You can get the device model number using uname from sys utsname.h. For example..
iPhone - How do I detect the iPhone version? http://stackoverflow.com/questions/3177634/iphone-how-do-i-detect-the-iphone-version feel free to use this class I found it here Usage UIDeviceHardware h UIDeviceHardware alloc init self setDeviceModel h platformString h release UIDeviceHardware.h UIDeviceHardware.h Used to determine EXACT version of device software is running on. #import.. is running on. #import Foundation Foundation.h @interface UIDeviceHardware NSObject NSString platform NSString platformString @end UIDeviceHardware.m UIDeviceHardware.m Used to determine EXACT version of device software is running on. #import UIDeviceHardware.h.. machine size NULL 0 NSString platform NSString stringWithCString machine free machine return platform NSString platformString NSString platform self platform if platform isEqualToString @ iPhone1 1 return @ iPhone 1G if platform isEqualToString @..
|