摘要:
1导航栏 self.navigationController.navigationBarHidden = YES; 2 状态栏 [[UIApplication sharedApplication] setStatusBarHidden:YES]; 阅读全文
摘要:
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... 阅读全文
摘要:
https://github.com/CoderMJLee/MJRefresh 阅读全文
摘要:
http://www.cocoachina.com/ios/20160307/15586.html 阅读全文
摘要:
http://lbs.amap.com/api/static-map-api/guide-2/ 第二 在访问地图图片的时 苹果需要在后面加上 &type=.jpg后缀 阅读全文
摘要:
第一个:cell中的分割线不顶头 首先在viewDidLoad方法加入以下代码: if ([self.tableView respondsToSelector:@selector(setSeparatorInset:)]) { [self.tableView setSeparatorInset:UIEdgeInsetsZero]; ... 阅读全文
摘要:
第一步初始化 UIPickerView *pickerview; //城市滚动表 NSDictionary *dict; //用于存储省份-城市的数据 NSArray *pro... 阅读全文
摘要:
UIDatePicker *datapicker; //时间滚动表 datapicker = [[UIDatePicker alloc]initWithFrame:CGRectMake(50, 200, 250, 100)]; ... 阅读全文
摘要:
第一步点击获取头像按钮 下面为按钮执行方法 判断设备是否具有照像机功能有的话执行前者方法没有执行后者方法 UIActionSheet *actionSheet; if([UIImagePickerController isSourceTy... 阅读全文
摘要:
ios 9.0后再用以前的UIAlertAction 已经不行了 被弃用了 改用这种方法了UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"提示"message:@"什么怎么怎么样"... 阅读全文