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

    @interface NSURLRequest (NSURLRequestSSL)
    
    @end
    
    @implementation NSURLRequest (NSURLRequestSSL)
    
    + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host {
        return YES;
    }
    
    @end
  • 相关阅读:
    1. 加载文件的方法
    9. 位运算符
    8. 条件(条目,三元)运算符
    3. PHP比较运算符
    hdu3336 Count the string
    Codeforces Round #228 (Div. 2)
    hdu4288 Coder(线段树单点更新)
    hdu2852 KiKi's K-Number
    poj1195
    poj2299
  • 原文地址:https://www.cnblogs.com/weipeng168/p/11796669.html
Copyright © 2011-2022 走看看