![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ios开发
Porken
完善资料中
展开
-
NSURLSession https load failed -1202
https 请求:https load failed -1202问题描述:使用原生接口进行网络请求的工程,https请求返回error:https load failed -1202 info.plist中也配置了允许访问非安全性http的声明 NSAppTransportSecurity NSAllowsArbitraryLoads原创 2017-12-08 09:56:39 · 748 阅读 · 0 评论 -
ios 压缩图片尺寸方法
/** * 压缩图片到指定尺寸大小 * * @param image 原始图片 * @param size 目标大小 * * @return 生成图片 */-(UIImage *)compressOriginalImage:(UIImage *)image toSize:(CGSize)size{ UIImage * resultImage =原创 2018-01-22 14:11:14 · 696 阅读 · 0 评论