上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 1.网络请求报错。升级Xcode 7.0发现网络访问失败。输出错误信息 The resource could not be loaded because the App Transport Security policy requires the use of a secure connection 阅读全文
posted @ 2016-07-21 12:58 SoulDu 阅读(382) 评论(0) 推荐(0) 编辑
摘要: AFHTTPSessionManager *manger = [AFHTTPSessionManager manager]; manger.securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone]; 阅读全文
posted @ 2016-07-19 11:27 SoulDu 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: /** * 创建媒体播放控制器MPMoviePlayerControlle 可以控制尺寸 * * @return 媒体播放控制器 */ -(MPMoviePlayerController *)moviePlayer{ if (!_moviePlayer) { NSURL *url=[self get 阅读全文
posted @ 2016-07-19 10:56 SoulDu 阅读(3917) 评论(0) 推荐(0) 编辑
摘要: //给image添加个分类 +(UIImage *)getImage:(NSURL: *)videoURL { AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:[NSURL fileURLWithPath:videoURL] options:n 阅读全文
posted @ 2016-07-19 10:21 SoulDu 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: ios app跳转拨打电话界面,调用拨打电话功能,可上线,可企业。 阅读全文
posted @ 2016-07-14 11:40 SoulDu 阅读(1892) 评论(0) 推荐(0) 编辑
摘要: 首先要干这些事 下面的方法亲测可用 DNLogFUNC //初始化位置管理对象 _locationManager = [[CLLocationManager alloc] init]; //请求用户授权 if ([[[UIDevice currentDevice] systemVersion] fl 阅读全文
posted @ 2016-07-12 16:40 SoulDu 阅读(467) 评论(0) 推荐(0) 编辑
摘要: /** * 在圆形外面加一个圆环 */ - (void)yuanHuan{ //0.加载图片 UIImage *image = [UIImage imageNamed:@"AppIcon1024"]; //图片的宽度 CGFloat imageWH = image.size.width; //设置圆 阅读全文
posted @ 2016-06-29 11:43 SoulDu 阅读(458) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Tim9Liu9/TimLiu-iOS 阅读全文
posted @ 2016-03-30 12:00 SoulDu 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #define iPhone_5 [UIScreen mainScreen].bounds.size.width == 320.0 #define iPhone_6 [UIScreen mainScreen].bounds.size.width == 375.0 #define iPhone_6s 阅读全文
posted @ 2016-03-30 11:59 SoulDu 阅读(783) 评论(0) 推荐(0) 编辑
摘要: #pragma mark 网络状态监测 -(void)checkNetworkStatus{ //创建一个用于测试的url NSURL *url=[NSURL URLWithString:@"http://www.baidu.com"]; AFHTTPRequestOperationManager 阅读全文
posted @ 2016-03-30 11:57 SoulDu 阅读(275) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页