After a few year pause, I am returning to B4i to do a simple website wrapper app.
So, I uninstalled my previous version of B4i and purchased and installed the latest B4i 8.10
I created a new B4xPage project (this is my first B4xpage project) and I added "webview" to a new layout in B4i's designer.
Everything seems like it is working great...Except when I click a link that is suppose to display a javascript alert pop-up dialog - nothing happens.
So, I came across this thread:
...and it looks like I am suppose to "deligate" something, but when I try to use the posted example code, it gives a "unknown type: wkwebview".
So, where is this wkwebview - I did a forum search and I found no library by that name or a view called "wkwebview" in the designer.
Any help would be appreciated.
So, I uninstalled my previous version of B4i and purchased and installed the latest B4i 8.10
I created a new B4xPage project (this is my first B4xpage project) and I added "webview" to a new layout in B4i's designer.
Everything seems like it is working great...Except when I click a link that is suppose to display a javascript alert pop-up dialog - nothing happens.
So, I came across this thread:
WKWebView show Javascript alert()
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.
www.b4x.com
...and it looks like I am suppose to "deligate" something, but when I try to use the posted example code, it gives a "unknown type: wkwebview".
So, where is this wkwebview - I did a forum search and I found no library by that name or a view called "wkwebview" in the designer.
Any help would be appreciated.