Alternative method for NSURLRequest's private “setAllowsAnyHTTPSCertificate:forHost:”?

前端 未结 5 1136
遥遥无期
遥遥无期 2020-12-30 03:41

My iPhone application was rejected solely for using the (very safe, it seems) private method +setAllowsAnyHTTPSCertificate:forHost: for NSURLRequest. Is there a

5条回答
  •  滥情空心
    2020-12-30 03:54

    There seems to be a public API for that ;) How to use NSURLConnection to connect with SSL for an untrusted cert?

提交回复
热议问题