目前iOS已经不支持http协议了,不过可以通过info.plist设置允许

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
05-02 02:58