上一页 1 ··· 5 6 7 8 9
摘要: //判断 if ([([UIApplication sharedApplication]currentUserNotificationSettings].types!=UIUserNotificationTypeNone) { UILocalNotification *ln =[[UILocalNo 阅读全文
posted @ 2016-04-14 23:19 huangyan1022 阅读(128) 评论(0) 推荐(0) 编辑
摘要: //这个变量用于记录授权是否成功,即用户是否允许我们访问通讯录 int __block tip=0; //声明一个通讯簿的引用 ABAddressBookRef addBook =nil; //因为在IOS6.0之后和之前的权限申请方式有所差别,这里做个判断 if ([[UIDevice curre 阅读全文
posted @ 2016-04-13 23:32 huangyan1022 阅读(196) 评论(0) 推荐(0) 编辑
摘要: NSString * identifierForVendor =[[UIDevice currentDevice].identifierForVendor UUIDString]; NSLog(@"%@dd",identifierForVendor);//唯一标识 [[UIDevice curren 阅读全文
posted @ 2016-04-13 23:25 huangyan1022 阅读(129) 评论(0) 推荐(0) 编辑
摘要: // 打电话 // 弊端:使用该方法进行拨号之后,当电话挂断之后不会返回应用程序, 会停留在通话记录界面// NSURL *url = [NSURL URLWithString:@"tel://13261936021"];// [[UIApplication sharedApplication] o 阅读全文
posted @ 2016-04-08 11:02 huangyan1022 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 开始 ios学习之旅,一天一次 坚持下来 为了 美好的的明天 -(UITableView *)tableView { if (!_tableView) { _tableView =[[UITableView alloc]initWithFrame:self.view.frame style:UITa 阅读全文
posted @ 2016-03-24 10:26 huangyan1022 阅读(90) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9