在info.plist文件中添加

App Transport Security Settings

Allow Arbitrary Loads boolean类型 YES