WebViewController is the web view's WKUIDelegate but had no confirm panel, so WebKit answered every confirm() false at once and showed nothing: the page's nine confirm() calls, deleting a file and sharing a Patreon address among them, could never go ahead in the app. It now shows an alert with Cancel and OK. With another alert already up it answers Cancel, as before, since one cannot be presented over the other. The page has no alert() or prompt(), so those panels are left out. Not compiled here: the Swift builds only on a Mac with Xcode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7.6 KiB
7.6 KiB