App Transport Security policy requires the use of a secure connection

后端 未结 2 669
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 01:55

I added the NsAppTransportSecurity as dictionary and added the key NsAllowArbitaryLoads exactly how everybody said but it does not work for me. I made

2条回答
  •  不知归路
    2021-01-25 02:32

    It should be done like:

    NSAppTransportSecurity
        
            NSExceptionDomains
            
                your.domain.name.net
                
                    NSExceptionAllowsInsecureHTTPLoads
                    
                    NSThirdPartyExceptionAllowsInsecureHTTPLoads
                    
                
            
        
    

提交回复
热议问题