B4X FEED Where is WKWebview?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Where is WKWebview? است. این موضوع تا کنون 19 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Where is WKWebview?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
19
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
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:

[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.
برای دیدن تصاویر باید ثبت نام کنید


...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.

 

عقب
بالا