iOS9与XCode7中不能使用http连接的快速解决办法

jyh47614 14 0 PDF 2021-01-31 14:01:07

在Xcode7.0及以上版本中编译iOS APP时,默认会使用iOS9的一项新特性,使得所有http连接被禁用,项目里使用的API没有https支持,就悲剧了。差了官方文档,有这么一段话 App Transport Security App Transport Security (ATS) enforces best practices in the secure connections between an app and its back end. ATS prevents accidental disclosure, provides secure default behavior,

用户评论
请输入评论内容
评分:
暂无评论