Is there a method to this madness? I am trying to build a browser app for a kiosk that restrict much need for running additional applications and simply stay within one website.
I research and found decidePolicyForNavigationAction should work for what I want, but how do I start filtering URI schemes (mailto://, irc://, etc.)? Thanks!
You’re implementing a WebView in your application to browse the web, right?
If yes, look into the WebPolicyDelegate Protocol reference.
Especially the following delegate might be of interest:
Using the above delegate, you can validate any request, including
mailtorequests.Quick example how to detect the URL scheme and decide wether to block: