ios - NSURLErrorDomain Code=-1004 error handling -
so here error.
error domain=nsurlerrordomain code=-1004 "could not connect server." userinfo=0x1700f0e00 {nsunderlyingerror=0x170255e70 "the operation couldn’t completed. (kcferrordomaincfnetwork error -1004.)", nserrorfailingurlstringkey=https://example.com/, nserrorfailingurlkey=https://example.com/, _kcfstreamerrordomainkey=1, _kcfstreamerrorcodekey=51, nslocalizeddescription=could not connect server.}
it comes randomly , way reopen application load needed data api.
my goal if error comes up, get
function called again. data , display without having reopen application.
Comments
Post a Comment