程的info.plist文件内添加字段:NSAppTransportSecurity,NSDictionary类型。在次字段下添加Boolean类型字段NSAllowsArbitraryLoads并且设置值为YES。