If I use
UIApplication.SharedApplication.CanOpenUrl(...)
to retrieve if a url can be opened on a thread other than the main thread, I get a UIKitThreadAccessException
.
I understand that things related to the UI must be run on the UI thread, but CanOpenUrl()
does not seem to be related to the UI. Does Apple really require calling this function from the UI thread or is it just Xamarin that (wrongly) considers calling the function from a background thread as a problem?
↧
UIKitThreadAccessException UIApplication.SharedApplication.CanOpenUrl
↧