解决方法:
方法1.使用https协议请求;
方法2.Info.plist中增加App Transport Security Settings子项Allow Arbitrary Loads设置为YES。
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.
下一篇 – swift delegate
上一篇 – swift UILabel不显示html标签