判断是iphone或是ipad 和 系统版本


//判断是iphone或是ipad等
1 NSLog(@"Device -- %@",[UIDevice currentDevice].model);
//系统版本
3 NSLog(@"version -- %@",[UIDevice currentDevice].systemVersion);

 

posted @ 2013-07-29 15:44  wangzhenxiang  阅读(130)  评论(0编辑  收藏  举报