在Info.plist中添加NSAppTransportSecurity類型Dictionary。在NSAppTransportSecurity下添加NSAllowsArbitraryLoads類型Boolean,值設為YES