摘要: 1. 用[UIDevice currentDevice].model,这个返回的是一个NSString,你可以做如下判断就能知道设备是iPad还是iPhone. if ([[UIDevice currentDevice].model rangeOfString:@"iPad"].location ! 阅读全文
posted @ 2016-02-25 11:49 索马里猫 阅读(226) 评论(0) 推荐(0) 编辑