问题
Apple has changed its current App Transport Security model with the release of iOS 9. Since this I have the issue that my App doesn't trust certain web services anymore and will terminate with an error. I found a solution to "fix" this error and I'm wondering if the following solution which I added to the Info.plist file will prevent the App from being released in the Apple App Store.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Does anybody know this?
Update:
Question is a duplicate to:
Does App Store reject submission if NSAllowsArbitraryLoads set to YES?
回答1:
Of course they'll allow you to submit apps with that setting. They added that override because some apps can't feasibly be released without allowing non-HTTPS requests. It will be a long time before it will be practical to ban unencrypted HTTP.
You may have to provide an explanation of why you're using that exception, of course.
来源:https://stackoverflow.com/questions/32495059/ios9-will-nsallowsarbitraryloads-true-be-allowed-for-a-release-in-the-app-store