在Info.plist中add Row添加App Transport Security Settingscode
Info.plist
App Transport Security Settings
而後在App Transport Security Settings下添加Allows Arbitrary Loads類型Boolean,值設爲YESit
Allows Arbitrary Loads
Boolean
YES