Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
50 views

I am investigating a navigation performance issue that occurs only on iOS WKWebView, while the same flow works normally on Android WebView. The app is a Flutter application using InAppWebView, and the ...
Rajitha Perera's user avatar
-3 votes
0 answers
57 views

I’m developing a visionOS app using SwiftUI and WKWebView. While inspecting Netflix playback inside a web view, I can see that the page contains a video element like: <video src="blob:https://...
Damiano Miazzi's user avatar
0 votes
0 answers
47 views

Is iOS WebRTC communication via WebView stable when the app is in the background? I'm implementing SIP communication using JsSIP within a WebView. On iOS, I'm using WKWebView, but I'm concerned that ...
Chris.Jiang's user avatar
1 vote
1 answer
130 views

Context I’m embedding a Leaflet map inside an iOS app using WKWebView (BeeWare/Toga, but this seems WebView-level rather than framework-specific). Problem Leaflet’s default marker icon and shadow ...
rjen's user avatar
  • 2,016
0 votes
1 answer
84 views

I’m working on a Flutter app that integrates an external authentication system provided by another company. The login and password-reset flows are handled entirely inside a WebView (their backend + ...
Patrick Schwarz's user avatar
0 votes
0 answers
90 views

My macOS app uses a SwiftUI NavigationSplitView for almost all of its UI. However on one tab the entirety of the UI is a web view. The problem is that web view seems to like flicker as the ...
CalebK's user avatar
  • 757
0 votes
0 answers
49 views

I have an iOS app running on Mac (it's not running through Catalyst, it's the iOS app on Mac). It displays some web content, along with some inputs. I'd like to know how to disable that dark grey bar ...
raven_raven's user avatar
0 votes
0 answers
68 views

I'm using WKWebView in iOS to render HTML and then export it as a PDF using UIPrintPageRenderer. However, when I generate the PDF, there's a small white space at the top of the page that I can't seem ...
Ali Asjad's user avatar
  • 2,325
1 vote
1 answer
96 views

Crash The crash happens immediately when loadHTMLString is called, even though baseURL is nil. Here’s the Swift call site: let webView = MYWKWebView(frame: .zero, configuration: WKWebViewConfiguration(...
Kelson Hartle's user avatar
2 votes
0 answers
75 views

We are building an offline Forge Viewer project using Vue + Vite, which will later be wrapped in an iOS app (Capacitor). In offline mode, we need to serve model files and translations from a local ...
Ahmed Abd Elnaser's user avatar
1 vote
0 answers
175 views

We have a mobile app that uses WkWebView on iOS. We want to embed TikTok videos here. The issue is that the TikTok player always shows its Cookie consent popup, which won't even go away if the user ...
waldgeist's user avatar
  • 607
1 vote
0 answers
131 views

How does Branch.io successfully deep link from Chrome iOS when custom domains fail? I'm facing a frustrating issue with deep links on Chrome iOS that Branch.io somehow manages to solve perfectly, and ...
Raphael St's user avatar
1 vote
1 answer
3k views

I’m testing my web app inside in-app WKWebViews (Discord, Telegram, custom apps, etc.) on iOS 26.x. Apple introduced a new Liquid Glass floating toolbar at the bottom of webviews, and it overlaps my ...
undeaD_D's user avatar
-1 votes
2 answers
825 views

This is the screenshot of the code. The view content includes UIView and WKWebView. The part of UIView is normal, but the part of WKWebView shows a blank screen. This was not a problem before iOS 26, ...
Lazyloading's user avatar
0 votes
0 answers
50 views

I'm building a visionOS app where users can place canvases into the 3D environment. These canvases are RealityKit entities that render web content using a WKWebView. The web view is regularly ...
Perazim's user avatar
  • 1,529
1 vote
1 answer
403 views

Update (06.08.2025): Fixed in iOS beta 5 Something has changed in iOS 26 (tested on beta 4) and now if custom scheme is used and web page contains script element then WebKit is terminated with ...
Igor Palaguta's user avatar
0 votes
1 answer
43 views

For a number of years I have been using inline web workers in Cordova using the cordova-plugin-ionic-webview on iOS which when a web worker is launched provides a self.location. I wanted for ...
David Martin's user avatar
0 votes
0 answers
42 views

When an field in an H5 page loaded by a WKWebView in an iOS development project is tapped to gain focus, a keyboard pop-up appears with a prompt for "slide-to-type" ("Slide your finger ...
LicoriceStore's user avatar
4 votes
1 answer
2k views

I'm developing an iOS app that uses a WKWebView to render a PWA basically. Since updating to the iOS 26 developer preview featuring the new Liquid Glass interface, I’ve noticed a subtle blur at the ...
Jan's user avatar
  • 43
1 vote
0 answers
66 views

WKWebView has a createPDF function: https://developer.apple.com/documentation/webkit/wkwebview/createpdf(configuration:completionhandler:) It works fine for everything except SVG elements on the page. ...
sudoExclamationExclamation's user avatar
0 votes
1 answer
76 views

I have two a WkWebView with an embedded YouTube player and a counter underneath that updates at a certain interval with a small animation. Every update causes the cursor to flicker back and forth ...
fer0n's user avatar
  • 1,423
1 vote
1 answer
102 views

To reproduce: Build & launch the App Keep the App in dock to launch it again later Quit the App Open from dock Click on "x" to close the window → Audio keeps playing The issue happens ...
fer0n's user avatar
  • 1,423
0 votes
0 answers
120 views

I'm building a SwiftUI app that lets users run multiple WhatsApp Web sessions, each tied to a different phone number, using WKWebView. My goal: Load https://web.whatsapp.com inside a WKWebView Support ...
Fahim Rahman's user avatar
1 vote
0 answers
103 views

I have a flutter web app which plays video as a background. As flutter video player by defaults has the attribute playsinline, the wkwebview should not be opening the native video player with controls....
keval's user avatar
  • 57
1 vote
1 answer
238 views

I am writing a GUI web scraper for macOS, where a user can browse the web using a WKWebView and can use various buttons and text fields to extract their desired content. Right now, my approach is to ...
Sweeper's user avatar
  • 295k
0 votes
0 answers
24 views

I found that the code we use to get camera capture in ipad has different behavior and result in ipad9 generation. The simple code navigator.mediaDevices.getUserMedia() and show it in <video> ...
Mr Hery's user avatar
  • 880
0 votes
0 answers
25 views

I'm trying to generate a PDF from a WKWebView on iOS using UIPrintInteractionController. The goal is to create a PDF without any default margins (full-bleed content, if possible). Here is my current ...
Ali Asjad's user avatar
  • 2,325
0 votes
0 answers
65 views

My app use wkwebview a lot, and I got a feedback from my app's user that my app's webview sometimes cant load web normally, which means after wkwebview loadrequest, no content was shown, all you can ...
fyang jeff's user avatar
0 votes
1 answer
90 views

I am trying to print an HTML document from a WKWebView in an iOS app. The document includes the following CSS to remove the page margins: <style id="page-print-style"> @page { size:...
Ali Asjad's user avatar
  • 2,325
0 votes
1 answer
648 views

I’ve been working on a personal iOS project for fun — essentially a YouTube music player, learning how background media playback works in native iOS apps. After seeing that Musi (a famous music ...
Rapidx's user avatar
  • 11
0 votes
0 answers
33 views

AFAIK as late as 2020 service worker support in WKWebView for non-Safari apps did not exist. As best I can tell it's working fine today. I cannot figure out though when this landed in what version of ...
Ian's user avatar
  • 720
0 votes
1 answer
147 views

I am able to demonstrate my issue using the below simple example. I basically need to use the addUserScript to load different scripts based upon which website the web view has navigated to. This works ...
sudoExclamationExclamation's user avatar
0 votes
1 answer
211 views

I have tried the code and options in the answers here iOS WKWebview: Always allow camera permission to make a webcam integration in Javascript as usual. I still can't get it to work - console log ...
NoBugs's user avatar
  • 9,368
1 vote
0 answers
205 views

I'm developing an iOS app that primarily uses a WKWebView to display web content which includes HTML5 elements for playing radio streams. I need these streams to continue playing when the app goes ...
Dragos Petrescu's user avatar
0 votes
0 answers
234 views

I am having unbelievable trouble trying to do something as simple as sending a cookie... I have a regular ionic app which runs perfectly on web and android but on ios (simulator) it seems to build and ...
php_nub_qq's user avatar
  • 16.2k
1 vote
1 answer
52 views

I have the following UIViewRepresentable to load a webview. struct SViewerWebView: UIViewRepresentable{ var url: String var token: String @Binding var isLoading: Bool func ...
MiguelG's user avatar
  • 536
0 votes
1 answer
117 views

I am working on a wrapper for WKWebView and want to make sure I handle possible errors. How can I make WKNavigationDelegate's method func webView(_: WKWebView, didFail _: WKNavigation!, withError ...
Nick's user avatar
  • 3,533
1 vote
0 answers
156 views

I am currently working with a custom WKWebsiteDataStore by using the init method to create it with UUIDs. According to the documentation, this provides persistent storage that is suitable for ...
Ayush Pathak's user avatar
0 votes
1 answer
36 views

I'm late, I know. But now I have to update an old app in objective c and replace UIWebView with WKWebView. That's largely done and works fine – with one exception: I have to react to clicked links. ...
thpitsch's user avatar
  • 2,056
4 votes
2 answers
511 views

I’m developing a hybrid app (WebView / Turbo Native) that uses getUserMedia to access the back camera for a PPG/heart rate measurement feature (the user places their finger on the camera). Problem: ...
gal's user avatar
  • 171
3 votes
1 answer
292 views

On iOS, I can set allowsPictureInPictureMediaPlayback of a WKWebViewConfiguration to true to enable Picture-in-Picture. According to the documentation, this property isn't available on macOS. Is there ...
fer0n's user avatar
  • 1,423
1 vote
1 answer
613 views

I am developing an iOS app in which I want to show YouTube videos. This is my code struct YouTubeView: UIViewRepresentable { let videoID: String func makeUIView(context: Context) -> ...
Bhavyabhatia's user avatar
0 votes
0 answers
269 views

I am write a wkwebview application in macos where I want to enable file upload to my website loaded in wkwebview. I found few articles telling to use runOpenPanelWithParameters which runs for me but I ...
Geetanshu Gulati's user avatar
1 vote
1 answer
645 views

I'm trying to color the safe areas (notch area, home indicator) black in my Capacitor iOS app. The app uses WKWebView under the hood. However, I'm still seeing white safe areas in the WKWebView, ...
Neal Shah's user avatar
0 votes
0 answers
76 views

When A WebViewController push B WebViewController, the settimeout function in A WebViewController will be stop working until returning to A WebViewController. On a PC, switching tabs in a WebView does ...
Crystal Black's user avatar
0 votes
1 answer
140 views

I encountered a problem where my app, which worked perfectly in July, no longer works when I try to build it now. Certain methods, such as the one below, are no longer being called in Xcode 16.1. func ...
G33RY's user avatar
  • 148
0 votes
0 answers
97 views

I'm having an issue where I can't get just a specific url to open in a popup window just for login purposes. The app I have is a webview app. Here is the code below: import UIKit import WebKit class ...
Heisenberg's user avatar
2 votes
0 answers
56 views

I am creating an iOS application in Swift. Downloading does not start when the “Download” button is pressed. import UIKit import WebKit class ViewController: UIViewController, WKNavigationDelegate, ...
Alise's user avatar
  • 21
0 votes
2 answers
253 views

My local html file contains remote resources with relative path. And, I need to use local path resources.(specific local directory's contents) To fulfill No.1 needs, I can use loadHTMLString(_:...
strawnut's user avatar
  • 425
1 vote
1 answer
2k views

I'm using Kotlin Multiplatform to generate a WebView in my iosMain implementation: @Composable actual fun LoadUrl(url: String) { val webView = remember { WKWebView() } UIKitView( factory = { ...
Robert Jamison's user avatar

1
2 3 4 5
78