App Transport Security issue in iOS 9 and iOS 10

后端 未结 1 963
夕颜
夕颜 2021-01-05 11:19

Apple has announced that NSAllowArbitraryLoads will not work soon. Therefore, in iOS 10, I have this in my info.plist:

NSAppTransport         


        
相关标签:
1条回答
  • 2021-01-05 11:42
    <key>NSAppTransportSecurity</key>
        <dict>
            <key>NSAllowsArbitraryLoads</key>
            <true/>
        </dict>
    

    You can use the above condition if you don't want to support https(TLS 1.2). But you have to make sure it will be a temporary fix. From earlier 2017 Apple make https (TLS 1.2) as mandatory

    0 讨论(0)
提交回复
热议问题