Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
WebView newbie
-
Any guidance on how to get a "hyperlink" into a webview that interact with the script that generated it. OR, can you add a "close' button to the webview?
-
You could put the webview inside of a Custom View and add a button inside of that that closes them both. I could make an example if you want me to.
-
See this example
-
for having the webview interact with the script, you need a delegate.
https://forum.omz-software.com/topic/1804/debugging-in-javascript-in-pythonista
is an example, more focused on a working console and js debugging, but the same idea applies, A regular button with an href that points to your custom url scheme which you then capture in the delegate.