wkwebview Questions

4

Solved

My View Controller embedded inside a navigation controller holds a WKWebview on which I want to enable the following logic: If a back item exists in the webview, making a left screen edge gesture ...
Camus asked 21/7, 2016 at 9:29

4

Starting iOS 13 onwards Apple allows us to always remember the Allow camera permission flag in iOS Safari. (Referring this answer). Also iOS Twitter PWA has this feature too. But is there anyway to...
Purtenance asked 25/2, 2021 at 5:48

3

Solved

The ask here is to play all kinds of web sounds regardless of the hardware silent switch , both muted and not muted devices must keep playing the sound in HTML pages while the app is foregrounded. ...
Linsang asked 5/6, 2019 at 12:18

6

We are trying to make a conference call with multiple users, So by using Kurento server we have achieved this and it's working on safari browser. But when it comes to implementation in WebView / WK...
Cowell asked 18/6, 2019 at 10:2

4

Solved

I'm trying to show in a WkWebView an html page that I previously downloaded and stored in a String. This is how I setup my WkWebView: webView = WKWebView(frame: self.blankView.frame) webView.na...
Echevarria asked 3/5, 2016 at 20:30

4

Solved

I am debugging this iPhone app that is basically a ticket manager that is running inside a webkit view, loading content from a website. At some point there is a telephone icon that you click and ca...
Taught asked 9/11, 2021 at 17:59

6

Solved

Is there a way to disable interactions on a webview? So that the user can not go any further than the webview that is loaded? EDIT: Disabling UserInteractions is not a solution because the website...
Companionable asked 12/4, 2017 at 10:26

6

Solved

This code is supposed to load the Apple homepage, but instead shows a blank screen. This happens with both HTTP and HTTPS URLs. Code: import UIKit import WebKit class WebViewController: UIViewC...
Grolier asked 11/5, 2018 at 11:47

6

I'm trying to get WKWebView to display locally downloaded images in a WKWebView. The webview normally displays HTML, which is retrieved remotely. The contents of the HTML can sometimes contain remo...
Mozzetta asked 18/9, 2017 at 14:30

1

I have a WKWebView, but when I click on a link that has the following URL: blob:https://www.mycase.com/2963c6c0-24c1-418f-a314-88f7a2dbc713 Nothing happens. Reading the documentation it describe...
Peralta asked 12/7, 2017 at 18:26

5

I state that I am new to Swift and iOS in general. I'd like to understand (in viewDidLoad) how I can check if the iPhone is connected to the internet, instantly, at that moment! The new NWPathMoni...
Fatherland asked 9/12, 2019 at 9:2

2

I want to verify how my app handles webViewWebContentProcessDidTerminate. I can call my delegate's webViewWebContentProcessDidTerminate directly, but this does not give me full confidence that it b...
Bearer asked 4/3, 2022 at 10:36

21

Solved

I am experimenting with replacing a dynamically allocated instance of UIWebView with a WKWebView instance when running under iOS 8 and newer, and I cannot find a way to determine the content size o...
Mcmillan asked 16/12, 2014 at 22:34

3

Solved

I'm trying to use WebView for a page in my app but when trying to log into google I get an error. I am aware that google requires a known OS browser to log onto their services but there are ways ar...
Petes asked 3/11, 2018 at 21:7

5

I'm working on an app in which I load different html files with mostly dark backgrounds. Right now there's a small white flash when navigating from one page to another, presumably since the next pa...
Dictionary asked 26/12, 2014 at 10:35

8

Solved

Does anyone know a nice simple way to disable double-click and pinch zooming in a WKWebView? Nothing I've tried works: Webview.scrollView.allowsMagnification = false; // Error: value of type WKWeb...
Walliw asked 6/11, 2016 at 17:3

2

I've got an odd issue where a certain domain fails to load in a WKWebView. It gives an error: WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=NSURLErrorDomain, code=-1200 Which I be...
Whiteheaded asked 30/3, 2022 at 13:29

8

Solved

I changed UIWebView to WKWebView, however, with the same html, the font in WKWebView looks like smaller than in UIWebView. I don't want this happen, so is there any way to avoid this change?
Volley asked 1/9, 2017 at 10:26

16

I am using WKWebView for viewing custom HTML. Regardless of HTML content, when testing on real device, I receive the following error Could not signal service com.apple.WebKit.WebContent: 113: Co...
Sucrose asked 16/6, 2017 at 9:41

2

In the iOS WKWebView, is there a way to detect when the website makes a resource request (e.g. an HttpRequest via Ajax)? In Android, there is a very convenient method "shouldInterceptRequest&q...
Gynophore asked 30/12, 2023 at 18:11

3

If a WKWebView terminates when an app is running in the foreground, webViewWebContentProcessDidTerminate will be called on its delegate. But what happens if the app is in the background? Will it st...
Dairen asked 4/3, 2022 at 10:29

6

There will an issue with UIWebview in ios. Apple is going to reject app using this. So we decided to use WKWebview for our cordova ios app. I installed cordova-plugin-wkwebview-engine and added &lt...
Doctor asked 30/3, 2020 at 11:40

7

I'm trying to develop a simple app to browse my website. However, my website contains some javascript and it doesn't successfully show my website. In the past development with Android, the same app...
Secondary asked 31/10, 2017 at 13:47

2

I have a simple WKWebView in a UIViewController container in the application. User will open this UIViewController container with WKWebView, and then will eventually close it with navigation "...
Circuity asked 5/12, 2020 at 21:40

4

I have a WKWebView in my application, there are some buttons inside the WKWebView on clicking on it, a new page is not loaded. By the look of it, they are trying to open an about_blank page. In the...
Barnaba asked 18/4, 2018 at 14:43

© 2022 - 2024 — McMap. All rights reserved.