现在的位置: 首页 > 综合 > 正文

iOS 获取系统信息

2012年10月08日 ⁄ 综合 ⁄ 共 405字 ⁄ 字号 评论关闭

 float systemVersion = [[[UIDevice currentDevice] systemVersion] floatValue];//iOS SystemVersion

[[UIDevice currentDevice] name]); // Name of the phone as named by user 

[[UIDevice currentDevice] uniqueIdentifier]); // iOS5.0 及其以后这个方法已经被禁止使用。再继续使用的后果是“审核不通过”

[[UIDevice currentDevice] systemName]); // "iPhone OS" 

[[UIDevice currentDevice] model]); // "iPhone" on both devices 

[[UIDevice currentDevice] localizedModel]); // "iPhone" on both devices 

【上篇】
【下篇】

抱歉!评论已关闭.