zoukankan      html  css  js  c++  java
  • iOS UIWebView 加载不被信任的 https 页面

    @interface NSURLRequest (NSURLRequestSSL)
    
    @end
    
    @implementation NSURLRequest (NSURLRequestSSL)
    
    + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host {
        return YES;
    }
    
    @end
  • 相关阅读:
    仪仗队
    疫情控制
    Code
    距离咨询
    舒适的路线
    桐桐的糖果计划
    跑路
    最短路计数
    骑马修栅栏
    搭桥
  • 原文地址:https://www.cnblogs.com/weipeng168/p/11796669.html
Copyright © 2011-2022 走看看