- Jun 6, 2020
- 11,559
- 4,422
I am using webview in a B4xpages iOS app.
It appears to work fine except when a webpage tries to open a javascript alert pop-up - nothing will happen.
I came across this post, but it looks like it will only work for non-b4xpages:
[H3]
Im trying to show an alert(); message in WKWebView. On stackoverflow i found this answer saying that the WebView is missing a "Delegate". But I don't know how to implement the solution with B4i. Maybe someone has already fixed this issue with B4i or knows enough about ObjC to fix it.
Does anyone know how to get javascript alerts working in a B4xpage app?
It appears to work fine except when a webpage tries to open a javascript alert pop-up - nothing will happen.
I came across this post, but it looks like it will only work for non-b4xpages:
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]Im trying to show an alert(); message in WKWebView. On stackoverflow i found this answer saying that the WebView is missing a "Delegate". But I don't know how to implement the solution with B4i. Maybe someone has already fixed this issue with B4i or knows enough about ObjC to fix it.
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
Does anyone know how to get javascript alerts working in a B4xpage app?
برای دیدن لینک ها باید ثبت نام کنید