10 2017 档案

摘要:下面这个链接上的道友,写得简单易懂。http://www.jianshu.com/p/5c09c2700038 阅读全文
posted @ 2017-10-26 10:27 jsonLing 阅读(222) 评论(0) 推荐(0)
摘要:@available(iOS 11.0, *) 阅读全文
posted @ 2017-10-11 16:09 jsonLing 阅读(541) 评论(1) 推荐(0)
摘要:1.真机情况下 其实Apple在iOS系统中预置了网络调试工具,但是只有添加过测试设备,并使用XCode连接下设备才能激活. 这时只要去设置中就可以看到多出来一项:开发者 注意中间的那行NETWORK LINK CONDITIONER 上图中的Status是表示网络限制是否开启,点击进去就可看到详细 阅读全文
posted @ 2017-10-11 11:05 jsonLing 阅读(631) 评论(0) 推荐(0)
摘要:模拟器网速调整: 限制时输入下面两行,根据需要修改下面的数字: sudo ipfw pipe 1 config bw 350kbit/s plr 0.05 delay 10000ms; sudo ipfw add pipe 1 dst-port http 不想再去限制网速是,输入下面的命令行: su 阅读全文
posted @ 2017-10-11 10:30 jsonLing 阅读(841) 评论(0) 推荐(0)
摘要:- (void)loadImageFinished:(UIImage *)image { UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (__br 阅读全文
posted @ 2017-10-09 16:50 jsonLing 阅读(1281) 评论(1) 推荐(0)
摘要:-(UIImage*)getScreenPhoto{ CGFloat scale = [UIScreen mainScreen].scale; NSMutableArray *images = [NSMutableArray array]; CGSize contentSize = self.vie 阅读全文
posted @ 2017-10-09 16:47 jsonLing 阅读(619) 评论(1) 推荐(0)