Menu

Webview is not work for http in ios9, only https

Allen Chow
2015-09-19
2015-09-20
  • Allen Chow

    Allen Chow - 2015-09-19

    Any solution ?

     
  • Allen Chow

    Allen Chow - 2015-09-20

    Can be solved by adding this to Info.plist

    <key>NSAppTransportSecurity</key>
    <dict>
    <key>NSExceptionDomains</key>
    <dict>
    <key>yourserver.com</key>
    <dict>

    <key>NSIncludesSubdomains</key>
    <true/>

    <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
    <true/>

    <key>NSTemporaryExceptionMinimumTLSVersion</key>
    <string>TLSv1.1</string>
    </dict>
    </dict>
    </dict>

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.