xamarin.ios - NSURLErrorDomain error -999 in Xamarin iOS -


i working on xamarin ios platform while loading url in webview getting error

the operation couldn’t completed. (nsurlerrordomain error -999.)

i have added nsapptransportsecurity key in info.plist

<key>nsapptransportsecurity</key>     <dict>         <key>nsallowsarbitraryloads</key>         <true/>     </dict> 

but not working. please me resolve issue.

this error occurs due request made before previous request of webview completed

based on answer

just ignore error in loadfailed(uiwebview webview, nserror error) delegate method.

try code

public override void loadfailed(uiwebview webview, nserror error) {     if (error.code == -999)      {       // show alert or ignore error     } } 

also, check have proper network connection

hope solve problem


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -