项目的info.plist文件添加一下值: App Transport Security Settings Allow Arbitrary Loads 设为YES