Przeglądaj źródła

开启ATS ( <key>NSAppTransportSecurity</key>)允许http链接

hxb 8 lat temu
rodzic
commit
29b52b1a98
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      WSCloudStorage/Info.plist

+ 5 - 0
WSCloudStorage/Info.plist

@@ -22,6 +22,11 @@
 	<string>1</string>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSAllowsArbitraryLoads</key>
+		<true/>
+	</dict>
 	<key>UILaunchStoryboardName</key>
 	<string>LaunchScreen</string>
 	<key>UIRequiredDeviceCapabilities</key>