objective c - NSURLRequest setAllowsAnyHTTPSCertificate to Swift -
what equivalent swift code of objective-c code below?
[nsurlrequest setallowsanyhttpscertificate:yes forhost:[url host]];
this not available on foundation
framework. it's apple private api , apple says application rejected if use private api.
Comments
Post a Comment