上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 1导航栏 self.navigationController.navigationBarHidden = YES; 2 状态栏 [[UIApplication sharedApplication] setStatusBarHidden:YES]; 阅读全文
posted @ 2016-09-07 10:14 代佳宏 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.bao这样的问题则 编辑 info.plis... 阅读全文
posted @ 2016-04-23 11:23 代佳宏 阅读(212) 评论(0) 推荐(0) 编辑
摘要: https://github.com/CoderMJLee/MJRefresh 阅读全文
posted @ 2016-04-18 17:14 代佳宏 阅读(101) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20160307/15586.html 阅读全文
posted @ 2016-03-25 16:51 代佳宏 阅读(118) 评论(0) 推荐(0) 编辑
摘要: http://lbs.amap.com/api/static-map-api/guide-2/ 第二 在访问地图图片的时 苹果需要在后面加上 &type=.jpg后缀 阅读全文
posted @ 2016-02-27 17:33 代佳宏 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 第一个:cell中的分割线不顶头 首先在viewDidLoad方法加入以下代码: if ([self.tableView respondsToSelector:@selector(setSeparatorInset:)]) { [self.tableView setSeparatorInset:UIEdgeInsetsZero]; ... 阅读全文
posted @ 2016-02-25 18:03 代佳宏 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 第一步初始化 UIPickerView *pickerview; //城市滚动表 NSDictionary *dict; //用于存储省份-城市的数据 NSArray *pro... 阅读全文
posted @ 2015-12-19 13:44 代佳宏 阅读(218) 评论(0) 推荐(0) 编辑
摘要: UIDatePicker *datapicker; //时间滚动表 datapicker = [[UIDatePicker alloc]initWithFrame:CGRectMake(50, 200, 250, 100)]; ... 阅读全文
posted @ 2015-12-19 11:12 代佳宏 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 第一步点击获取头像按钮 下面为按钮执行方法 判断设备是否具有照像机功能有的话执行前者方法没有执行后者方法 UIActionSheet *actionSheet; if([UIImagePickerController isSourceTy... 阅读全文
posted @ 2015-12-19 11:01 代佳宏 阅读(538) 评论(0) 推荐(0) 编辑
摘要: ios 9.0后再用以前的UIAlertAction 已经不行了 被弃用了 改用这种方法了UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"提示"message:@"什么怎么怎么样"... 阅读全文
posted @ 2015-12-02 11:54 代佳宏 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页