App Transport Security issue in iOS 9 and iOS 10

后端 未结 1 960
夕颜
夕颜 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

    NSAppTransportSecurity
        
            NSAllowsArbitraryLoads
            
        
    

    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)
提交回复
热议问题