When I hit the login server, I get this error message:
NSURLConnection finished with error - code -1202.
I have added App transport security in my Plist and I have allowed all the invalid certificates to YES.
Acc to Google Search -1202 = NSURLErrorServerCertificateUntrusted:
HTTPS with NSURLConnection - NSURLErrorServerCertificateUntrusted
NSURLConnection Error code (-1202,1012)
Check validity of certificate in server side also, as this can be one possibility for this error.
Also, NSURLConnection
is depecrated i suggest update it via NSURLSession
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With