在我更新到 Xcode7 后,我的应用程序无法连接到特定地址
After I updated to Xcode7, my apps can't connect to specific address
在我的一些应用程序中,我使用 NSURL
连接到特定地址;在我升级到 Xcode 7.
后它不起作用
我能做什么?
从 iOS 9 开始,您必须将 NSAllowsArbitraryLoads 键设置为 YES under NSAppTransportSecurity .plist 文件中的字典。希望这对您有所帮助!
在我的一些应用程序中,我使用 NSURL
连接到特定地址;在我升级到 Xcode 7.
我能做什么?
从 iOS 9 开始,您必须将 NSAllowsArbitraryLoads 键设置为 YES under NSAppTransportSecurity .plist 文件中的字典。希望这对您有所帮助!