Questions tagged [wkwebviewconfiguration]
155 questions
0
votes
1 answer
Adding a click event listener on WKWebView not working
I am working on an app that is using a WKWebView and I am trying to add an event listener when the user clicks on a button on the web page. The button as no id so I am working with the class.
I am able to set it up properly on chrome using the…
![](../../users/profiles/1824565.webp)
Reimond Hill
- 2,633
- 21
- 35
0
votes
1 answer
WKWebKit Implementation (Objective-C)
Trying to display a web page in iOS, and I am having trouble implementing WKWebkit.
ViewController.h
@import WebKit;
@interface ViewController : BaseViewController
@property (retain, nonatomic) WKWebView…
![](../../users/profiles/14283126.webp)
anks
- 1
- 1
0
votes
1 answer
Can WKWebView load local HTML5 for writing?
I'm trying to do something like hybird with WKWebView.
I finished the HTML5 pages, and let it displayed in WKWebView in a macOs App.
All things go well, but I can't input any character into the field in the macOs WKWebView.
My question is: Is there…
![](../../users/profiles/14556519.webp)
Alex
- 1
0
votes
0 answers
Allow WKWebView to perform POST formSubmitted
I am launching a POST request on a WKWebView. This initial request is redirected to several GET's and POST's successfully. However, it arrives to a point where method decidePolicyFor receives a POST request with navigationType.formSubmitted (1).…
![](../../users/profiles/3057234.webp)
CRoig
- 631
- 5
- 20
0
votes
0 answers
Can WKWebView override the viewport setting of an external webpage?
I have a WKWebView in my app, that loads an external website on a certain view.
I cannot control or change the code of the external page, but viewing source, I can see that it have a meta viewport set as:
![](../../users/profiles/1076261.webp)
R2D2
- 2,522
- 3
- 22
- 41
0
votes
1 answer
How to configure WkWebView in xamarin.forms iOS?
Recently, I can't publish my new app to App Store due to the following error:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no
longer accepted. Instead, use WKWebView for improved security and
reliability. Learn…
![](../../users/profiles/12365782.webp)
Sheng Jie
- 103
- 11
0
votes
1 answer
WKWebView buttons dont work after Apple Login session
I'm stuck with a problem. First of all, I'm using MSAL and Azure B2C for the sign up. One of the Identity Providers is Apple Login. Now when I press the Apple Login button, the usual Face-Id screen opens. Great. Now say I changed my mind, and I…
![](../../users/profiles/9869421.webp)
MuSoundiX
- 78
- 7
0
votes
1 answer
WKWebView: The form is not submitting in WKWebView (Swift)
I am using a WKWebView and when the form is submitted, I am getting the breakpoint in decidePolicyFor navigationAction delegate method and the following condition is also true.
navigationAction.navigationType == .formSubmitted
The following code…
![](../../users/profiles/12111529.webp)
Mayank Bhaisora
- 93
- 1
- 5
0
votes
0 answers
Getting a WKWebView to tab to checkboxes
I have a WKWebView embedded in a MacOS OS/X application that contains an HTML form. Users can tab between fields. I would like the user tabbing between inputs to also stop at checkboxes, not just skip over them. Safari behaves this way if you go…
![](../../users/profiles/14211702.webp)
Dan Lyke
- 1
0
votes
0 answers
how would I restart cancelled WKNavigationAction after cookies will have loaded
I need to load cookies into wkwebview for a certain WKNavigationAction,
so I .cancel the action in
webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) ->…
![](../../users/profiles/3544438.webp)
Anton Tropashko
- 4,300
- 3
- 31
- 53
0
votes
1 answer
How to implement a native WKURLSchemeHandler in cordova-ios 6.1.0
I am working on a cordova ios (6.1.0) project and i want to implement a native WKURLSchemeHandler
to intercept the custom scheme handling to solve my cors problems.
In detail I want to do something like:…
![](../../users/profiles/2048767.webp)
user2048767
- 115
- 8
0
votes
0 answers
Difference in Height found for UIWebView and WKWebview for the same HTML Content
I was using UIWebView inside tableview, height of the table cell was calculated as per HTML content which was returned by UIWebview and then data was displayed on it
Approach for above was
First get the size of HTML content by loading it in separate…
![](../../users/profiles/3914818.webp)
Saket Pandhare
- 1
- 1
0
votes
1 answer
What is suppressesIncrementalRendering doing?
I'm using the newest version of Xcode and Swift.
I was googling around to make my KWWebView even faster and found the following:
webConfiguration.suppressesIncrementalRendering = true
Documentation says the following:
A Boolean value indicating…
![](../../users/profiles/9548591.webp)
David
- 2,179
- 2
- 9
- 30
0
votes
0 answers
WKWebView “goback” function does not execute refresh and javascript code
I have a ViewController that is embedded in a NavigationController and this ViewController adds WKWebView as a subview.
The problem is that after navigating to any web page; if I call the function "goback", the previous page will be present and…
0
votes
1 answer
Manipulate paste content in WKWebView
I need to manipulate the text that is pasted into a WKWebView (from any source) running an asynchronous operation that can take some time.
My original idea was to use Javascript and the WKWebView configuration in order to get the onpaste…
![](../../users/profiles/465916.webp)
Kappe
- 8,342
- 2
- 27
- 35