WKWebView does not load https URL?

前端 未结 6 572
予麋鹿
予麋鹿 2021-02-07 00:16

I have a WKWebView which should load the following url:

https://buchung.salonmeister.de/place/#offer-details-page?id=907599&venueId=301655

6条回答
  •  别那么骄傲
    2021-02-07 01:15

    Add this to your plist

    NSAppTransportSecurity
    
        NSAllowsArbitraryLoads
        
    
    

    Here's the explanation for this change in 9.0 http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/

    Also if you want to set it up more secure it gives you a more complex way to do that.

提交回复
热议问题