摘要:
NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:@"Using NSAttributed String"]; [str addAttribute:NSForegroundColorA 阅读全文
posted @ 2015-11-17 16:08
Mr_tao
阅读(140)
评论(0)
推荐(0)
摘要:
首先引入库:AVFoundation.framework 话不多说,直接贴上代码 1 #import "ViewController.h" 2 3 #import <AVFoundation/AVFoundation.h> 4 5 static const char *kScanQRCodeQueu 阅读全文
posted @ 2015-11-17 15:08
Mr_tao
阅读(274)
评论(0)
推荐(0)
摘要:
首先建一个model类保存电话本信息 .h里面 { NSInteger sectionNumber; NSInteger recordID; NSString *name; NSString *email; NSString *tel; } @property NSInteger sectionNu 阅读全文
posted @ 2015-11-17 14:25
Mr_tao
阅读(433)
评论(0)
推荐(0)
摘要:
首先引入头文件: #import "sys/utsname.h" 代码实现: - (void)viewDidLoad { [super viewDidLoad]; struct utsname systemInfo; uname(&systemInfo); NSString *deviceStrin 阅读全文
posted @ 2015-11-17 10:32
Mr_tao
阅读(340)
评论(0)
推荐(0)
浙公网安备 33010602011771号