xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
原因 http | https 协议 不能正常使用
但是在字段名上有了变化,不过复制进去 还是会自动选择对应的
解决办法
1. 在Info.plist中添加 App Transport Security Settings,类型Dictionary
2. 在 App Transport Security Settings 下 添加 Allow Arbitrary Loads 值为yes