英文:
IOS continues to block HTTP requests even though ATS has been disabled
问题
以下是您要翻译的部分:
"this is so confusing, I have legacy app cordova that need to do some request to http url , I know IOS ATS to block that request, and I have done everything I read from the internet
enable like code below
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
请问还有其他需要翻译的部分吗?
英文:
this is so confusing, I have legacy app cordova that need to do some request to http url , I know IOS ATS to block that request, and I have done everything I read from the internet
enable like code below
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
is there any thing that i missed?
PS: yes it works if i put the url into NSExceptionDomains but the requirement is i need to open this to any http url because some client still have http url not https
答案1
得分: 0
I found the problem, it's already stated in Apple's documentation.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论