how to Save Cache in UIwebview?

i want the webview to save cache to use later for the fast web load , this webview code that is written in swift 3 can you help me with that import UIKit class FirstViewController: UIViewController { @IBOutlet var webfirst: UIWebView! overrid...
more »

2017-11-23 16:11 (0) Answers

React-Native WebView postMessage get json object

I can successfully send postMessage to WebView but my question is how can i extract json object from Is there any possible way to get json object document.addEventListener("message", function(event) { console.log("Received post messag...
more »

2017-09-20 15:09 (0) Answers

WebView crash in Android O

This question is not duplicate, I know how to fix NPE in project, this NPE occurred in native method as you can see I get : Caused by: java.lang.NullPointerException at android.content.res.AssetManager.addAssetPathNative(Native Method) I'v fac...
more »

2017-09-18 06:09 (2) Answers

Xcode wkwebview html select menu open in popup

I am using wkwebview and want to avoid opening default safari/wkwebview select menu drop opener that shows at the bottom when user clicks on any HTML drop downs in my webpage. Instead, i want to open the drop down in the native UIpopup, is there a ...
more »

2017-08-31 21:08 (0) Answers

Copy bundle resources manually

I have a React Native project that renders a static HTML file in a webview, and that file is read locally from the device. Therefore I have to re-run the app from Xcode in order for my changes to the HTML file to appear in the app, which is quite tim...
more »

2017-08-29 14:08 (0) Answers

Downloading pdf file inside Webview is not working

I'm indeed facing an strange problem. Below is the code I'm currently using to Download file inside webView and It works too when I build apk and run in Bluestacks but If I installed it in real device and click on Download link, It show Downloading F...
more »

2017-08-15 03:08 (0) Answers

Enable Flash plugin in WPF using CEFSharp

I'm developing a WPF application using Cefsharp. This web browser inside the app should show some flash contents. I found some forum where the users suggest to use papi flash or pepper flash for Cefsharp. I have no idea how to implement those plugin ...
more »

2017-08-12 19:08 (1) Answers

Open Button Link In Webview

i am very new to Xcode and don't know much about it , sorry for my silly question. i want to create app with 20 buttons on home page , and i want to attach them all in one ViewController Like if button1 clicked do this elseif button2 clicked do d...
more »

2017-08-10 17:08 (2) Answers

Displaying a part of a webpage in webview

Please note that this question is not a duplicate of How to display some part of webpage in android webview? or Android WebView: display only some part of website as they exclude some element whereas i want to include only one. public class MainActi...
more »

2017-06-17 21:06 (1) Answers

close app and launch webview on appstart

I have made an api request to get some details from my back end service: I want to dismiss my current view controller and launch a new webpage via a url coming in from the back end: NSDictionary *parameters = @{@"X-Service-Code" : @"PP", @"Accept" ...
more »

2017-06-11 21:06 (2) Answers

ANDROID WebView javascript redirect won't work

I'm trying to create a Android WebView app. When I press a button in the webview with the following code behind it: window.location.href = ""; Nothing happens, but in the chrome browser on Android it will work. I can also con...
more »

2017-05-08 14:05 (1) Answers

Resizing WKWebView height on zoom iOS

I have a table view where each cell contains a WKWebView of HTML content. Initially the content has its size to fit a prescribed width and height. What I want to do is allow users to zoom in and out of the WKWebView and while adjusting the height of...
more »

2017-04-21 19:04 (0) Answers

How to search for text in a WebView Andoid?

I have an app that uses WebViews (minSdkVersion 17). It would be very helpful if it was possible to add a search (and highlight found result(s)) function. The thing is that my programming skills are very low and the search for the Holy Grail returned...
more »

2017-03-31 09:03 (0) Answers

Android webview crash "Fatal signal 5 (SIGTRAP)"

I have an app with a webview in which I load HTML content with javascript enabled. The webview is inside a fragment. This is how I initialize the webview inside the method onCreateView of the fragment : WebView webview = (WebView) mainView.findView...
more »

2017-03-21 12:03 (1) Answers

Get scroll position of webview in swift

I'm trying to get the scroll position from a webview in swift. I want to obtain the position when scrolling. Everytime I start scrolling I would like to get the position of the current scroll and the height of the total scroll. How can this be acc...
more »

2017-03-11 07:03 (3) Answers