摘要: 功能函数: -(bool)checkDevice:(NSString*)name { NSString* deviceType = [UIDevice currentDevice].model; NSLog(@"deviceType = %@", deviceType); NSRange range = [deviceType rangeOfString:name]; return range.location != NSNotFound; } 阅读全文
posted @ 2013-11-20 20:39 苹果吧 阅读(1289) 评论(0) 推荐(0) 编辑
摘要: 网上对IOS的宏定义比较多,我总结了一些最常用的宏,后续还会继续补上。 阅读全文
posted @ 2013-11-20 10:40 苹果吧 阅读(18571) 评论(0) 推荐(0) 编辑