get some information about the device:Uidevice*device = [Uidevice Currentdevice];@property(Nonatomic,readonly,strong) NSString *name;//e.g. "My IPhone"@property(Nonatomic,readonly,strong) NSString *model;//e.g. @ "IPhone" @ "IPod touch"@property(Nonatomic,readonly,strong) NSString *localizedmodel;//Get localized version@property(Nonatomic,readonly,strong) NSString *systemname;//e.g. @ "IOS", currently running system
@property(Nonatomic,readonly,strong) NSString *systemversion; //e.g. @ "4.0", version of current system get some information about the device: nsdictionary *infodic = [[nsbundle mainbundle] Infodictionary]; //app name nsstring *appname = [infodic objectforkey:@ " CfbundleDisplayName "]; //app Build Version nsstring *appbuild = [infodic objectforkey:@ "Cfbundleversion" ];//app version nsstring *appversion = [infodic objectforkey:@ " Cfbundleshortversionstring "];
Get some information about your device and app