Alternative method for NSURLRequest's private "setAllowsAnyHTTPSCertificate:forHost:"?

cocoa, cocoa-touch, iphone, iphone-privateapi, nsurlrequest

Solution

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

Problem

My iPhone application was rejected solely for using the (very safe, it seems) private method `+setAllowsAnyHTTPSCertificate:forHost:` for `NSURLRequest`. Is there a non-private API to emulate this functionality?

Original source

Related problems