About iOS webview used in Corona

As I know, webview now use in Corona iOS version is “UIWebView”.
Can we change to use “WKWebview”?

Since UIWebView have a bug on uploading video in album library.

As I know, webview now use in Corona iOS version is “UIWebView”.
Can we change to use “WKWebview”?

Since UIWebView have a bug on uploading video in album library.

I am trying to be careful and not advertise.

First off, I have no idea if corona is working this is or not but when I asked them they said they were not doing anything with it so far. That was less than a month go so their plans could have. You can also do this in corona enterprise if you want (please ask how do I do this in corona enterprise).

 But you should know that my safari webview plugin does use WKWebviews, you can use it if you want but it is not required. 

Scott, there are no issues with you recommending your plugins to solve developer’s needs. That’s why you wrote them. Now if you decided to run a plugin sale, we would want that restricted to the Marketplace forums, but letting the OP know about your plugin is a-okay! 

We have a huge list of things to accomplish before we tackle updating our native.newWebView() API though updates to that API call have quite a few votes if you add up all the different requests.

You cannot change our native.newWebView() to use WKWebview. Scott’s advice to look at his plugin would be my recommendation too.

Rob

Thanks all for your reply
Let me think about it

One more problem want to ask
To show alert prompt in WKWebview, we need to set WKUIDelegate to the webview. Did your plugin also implement this?

No, not currently

It will be great if you can implement this in coming one or two weeks. Since the UIWebView has its limitation so that we cannot use.

Or if possible, please tell us some direction / hints on doing this. We have enterprise account, but not very good to implement in enterprise.
We appreciate if you or someone can help us on this. Thanks a lot.

Could you be more specific on why and what you need? I don’t see why you could not show alert using lua code or javascript in your web view.

https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_alert

You may try this. I use the app called “Webview Rendering”. When using the “WKWebview”, no popup will be shown. However, other webview can display

Ok added, please wait an hour for changes to implement.

Screen%20Shot%202017-05-26%20at%207.17.2

Thanks Scott, It works great :slight_smile:

As I know, webview now use in Corona iOS version is “UIWebView”.
Can we change to use “WKWebview”?

Since UIWebView have a bug on uploading video in album library.

I am trying to be careful and not advertise.

First off, I have no idea if corona is working this is or not but when I asked them they said they were not doing anything with it so far. That was less than a month go so their plans could have. You can also do this in corona enterprise if you want (please ask how do I do this in corona enterprise).

 But you should know that my safari webview plugin does use WKWebviews, you can use it if you want but it is not required. 

Scott, there are no issues with you recommending your plugins to solve developer’s needs. That’s why you wrote them. Now if you decided to run a plugin sale, we would want that restricted to the Marketplace forums, but letting the OP know about your plugin is a-okay! 

We have a huge list of things to accomplish before we tackle updating our native.newWebView() API though updates to that API call have quite a few votes if you add up all the different requests.

You cannot change our native.newWebView() to use WKWebview. Scott’s advice to look at his plugin would be my recommendation too.

Rob

Thanks all for your reply
Let me think about it

One more problem want to ask
To show alert prompt in WKWebview, we need to set WKUIDelegate to the webview. Did your plugin also implement this?

No, not currently

It will be great if you can implement this in coming one or two weeks. Since the UIWebView has its limitation so that we cannot use.

Or if possible, please tell us some direction / hints on doing this. We have enterprise account, but not very good to implement in enterprise.
We appreciate if you or someone can help us on this. Thanks a lot.

Could you be more specific on why and what you need? I don’t see why you could not show alert using lua code or javascript in your web view.

https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_alert

You may try this. I use the app called “Webview Rendering”. When using the “WKWebview”, no popup will be shown. However, other webview can display

Ok added, please wait an hour for changes to implement.

Screen%20Shot%202017-05-26%20at%207.17.2