Last active
December 1, 2022 05:49
-
-
Save MadeBugs/a937987959ab7dd08c2b5d4f335a2351 to your computer and use it in GitHub Desktop.
[设置允许HTTP请求] iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSExceptionDomains</key> | |
<dict> | |
<key>www.baidu.com</key> | |
<dict> | |
<key>NSIncludesSubdomains</key> | |
<true/> | |
<key>NSExceptionRequiresForwardSecrecy</key> | |
<false/> | |
<key>NSExceptionAllowsInsecureHTTPLoads</key> | |
<true/> | |
</dict> | |
</dict> | |
<key>NSAllowsArbitraryLoads</key> | |
<true/> | |
<key>NSAllowsArbitraryLoadsInWebContent</key> | |
<true/> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment