10,675 questions
0
votes
1
answer
68
views
IOS Cordova App - videos not playing - IOS 16.4
We have a very old Cordova iOS app which mainly opens many PDFs and a couple of videos. All the videos and PDFs are embedded inside the build and the app mainly works offline. Users have recently ...
1
vote
1
answer
512
views
window.webkit.messageHandlers is defined in an iOS Chrome & Firefox browser which is not in a Webview
I was under the assumption that webkit.messageHandlers are defined on iOS in a webview context. But when I do an alert of this, I get some kind of "value" that I cannot look into.
Can I get ...
0
votes
0
answers
43
views
Custom WebView With Loading Indicator - Infinite Reload Cycle
I created the below custom WebView for my app - the goal is to show a loading indicator until the content is loaded successfully.
Everything works fine when
// if isLoading {
// ...
1
vote
2
answers
769
views
How to display embedded PDF file in WebView?
I need a suggestion/advice on how to solve this. Currently I am building a Web application in PHP 8.2 where users can upload PDF files and only users with certain roles have the ability to see them. ...
2
votes
1
answer
282
views
WKWebView with Gesture Recognizer becomes unresponsible when using Apple Pencil
I have a SwiftUI ContentView that includes a WKWebView, and I've added a custom UIGestureRecognizer to the WKWebView. Here's a simplified version of my code:
struct ContentView: View {
var body: ...
1
vote
0
answers
43
views
Webview as overlay in Broadcast Upload extension
I am currently developing a screen broadcasting UIKit application aimed at assisting users in streaming games to social networking platforms. To achieve this goal, I am utilizing the Broadcast Upload ...
1
vote
0
answers
125
views
iOS WKWebView's WKProcessPool - when is it safe to share the same process space?
My app uses lots of WKWebView to render different websites. Think of a browser app for example. These are third party websites being loaded from various domains not under my control.
I am reading the ...
0
votes
0
answers
24
views
How to prevent the Audio `play` method from stopping sounds in backgrounded apps in a Webview?
I'm writing a web chat app and whenever a user receives a message, an associated incoming message sound is played. This all works works fine on desktop, but if I'm listening to, say, Youtube or ...
1
vote
0
answers
80
views
How to open a downloaded .ics file in Calendar app?
I have a webview, with an option for adding to calendar. I am able to download the ics file I'm getting in response and can see that file in local path. However in my app, I don't see any option to ...
1
vote
0
answers
385
views
Where to persistently store cookies from WebView IOS?
I am developing an app that supports multi accounts in different social medias. On this example view controller I have Instagram domain and "accName" variable. When the view controller is ...
4
votes
0
answers
2k
views
UserAgent cannot be changed from UserDefaults only iOS 17 Device using Xcode 15
I want to custom UserAgent(UA) in UIWebView using registerDefaults method of NSUserDefaults
NSString *userAgent = @"test user agent";
NSDictionary *dict = [NSDictionary ...
0
votes
0
answers
110
views
ITMS-90809: Deprecated API Usage with AppsFlyerFramework pod
I am making an update to a legacy iOS app but App Store Connect isn't accepting the our new build. I get the message:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer ...
1
vote
0
answers
77
views
Outlook calendar download in webview not displaying the right time in iOS app
When trying to download an appointment to Outlook calendar on iOS device in webview, the time is completely off. This is not an issue for Android devices or desktop.
The start time is set to device ...
0
votes
0
answers
601
views
iOS 17 , when entering Chinese characters, the program crashes. The system is using UIWebView
iOS 17 , when entering Chinese characters, the program crashes. The system is using UIWebView.
This is my error message.
enter image description here.
I know that Apple recommends replacing UIWebView ...
0
votes
1
answer
662
views
upgrade UIWebView to WKWebView in Cordova
in my Cordova have iOS platform and use UIWebView but this is becoming obsolete and must upgrade to WKWebView for use this add WKWebView plugin with this script
cordova plugin add cordova-plugin-...
0
votes
1
answer
3k
views
Is UIWebView will continue in iOS 17?
My question is related to ios 17. Is apple allow apps to continue UIWebView? Is anyone have information about this? ios 17 beta has been released.
0
votes
0
answers
96
views
How can I get request URLs in Swift webview
I'm currently working on an app that uses a webview to log in. I've done the exact same thing before on Flutter and was able to intercept and read the token from an incoming request URL. I need to do ...
1
vote
1
answer
115
views
wkWebview dropdown popover Mirror text ios issue in arbic language
We are facing this issue when running iOS 15 later. Changing the language to Arabic causes this issue in WKWebView.Changing application language english to arbic causing this issue.We are loading the ...
-1
votes
1
answer
70
views
Why WebKit font vs iOS UILabel has different Font?
I am using webview & for changing font(size 50) of WKWebKit i am using
let fontSetting = "<span style=\"font-size: \(fontSize)\"</span>"
I have taken UILabel from ...
12
votes
2
answers
5k
views
Safari won't see/show the web inspector of my app's WebView (WKWebView or UiWebView)
I have been working on my appliance years now, and as always using the Safari's Web Inspector.
But today my Mac's Safari Inspector won't show/see anymore my App's webview, anyone have a clue about ...
-2
votes
1
answer
1k
views
How to disable all ads on webView swift
How to disable all ads like popups banner in webView for any URL.
I am using WKContentRuleListStore for block ads
I have use this json content block rule
https://github.com/ShingoFukuyama/...
0
votes
1
answer
368
views
Is there a way to remove the date picker calendar in both Android and iOS webview?
Unfortunately the
-webkit-calendar-picker-indicator {
-webkit-appearance: none;
display: none;
}
does not work and there is still a tiny arrow in webviews.
0
votes
1
answer
83
views
Is it Possible to Interleave WebView and CALayerViews in Swift
I have a view that acts as a container for multiple CAShapeLayers. These contain bezier that form a composition on the screen that the user can manage in different ways to do with line weight, colour, ...
0
votes
1
answer
68
views
Show webView if count x number
I'm working on a crosswords app in Swift and I want to show a certain webView only when it matches a certain condition.
Here's my snippet:
if (completedPuzzles.count == 25) {
self.view....
-1
votes
1
answer
608
views
Objective-C WKWebView: didFinish not triggering when WebView finishes loading
My app is Objective-C, and I'm migrating little by little, so I need help with Objective-C, not Swift.
I'm migrating UIWebView to WKWebView and having problems to make didFinish to work.
This the ...
0
votes
0
answers
20
views
How to you display a webview url in a UISearchBar
I have made a search-browser app and I can't figure out how to display the webview's URL for the current website you are on.
I tried mySearchBar.text = myWebView.url and it doesn't work.
I found out ...
0
votes
1
answer
700
views
Select file button is not opening the files library in webView of iOS
I have select file button in website which is opening in webview in my iOS application but the button is not opening the files library of iOS device. but the same link is working fine for android and ...
2
votes
0
answers
525
views
UIWebview crashing when open pdf
I have an app built with Objective C which is crashing only on iOS 16. iOS 15 & below is working fine.
I am simply opening pdf link in the webview. Below is the code I am using.
NSURLRequest *...
1
vote
0
answers
81
views
Deprecated API Usage - New apps that use UIWebView are no longer accepted(React Native)
UIWebview found in these folder but i'm not able to get replace it into WKWebView, I get using on project directory :
grep -r UIWebView ./*
Binary file
./node_modules/react-native-maps/.gradle/4.10.3/...
0
votes
1
answer
114
views
iOS Webview Echo issue When Muting/Unmuting
I have a WebRTC implementation that is inside a Webview on iOS 15. I am enabling the audio/disabling the audio as such:
mediaStream.getAudioTracks()[0].enabled = false;
setTimeout(() => { ...
1
vote
0
answers
110
views
CSS Media Query that isolates iOS Webview from iOS browser
I'm working on a view that renders both as a webview and a webpage on a browser for iOS. I have a styling change that I need applied to only the webview, and not the browser web page (when the styles ...
0
votes
1
answer
91
views
Obj-C - Embed YouTube video in UIWebView?
I'm using the below code to try and have a youtube video play inside my app (in a UIWebView). For some reason, my WebView returns as just a black box, and no video plays.
See below:
...
1
vote
1
answer
1k
views
How to check am I using WKWebview instead of UIWebview in cordova app
My app had a display problem when I used Adobe PhoneGap Build. Somehow I solved it via migrating UIWebveiw to WKwebview. Since PhoneGap Build ends its service, I am trying to use cordova command to ...
0
votes
0
answers
135
views
How can I download files in xls format from UIWEBVIEW?
- (BOOL) webView:(UIWebView *) webView shouldStartLoadWithRequest:(NSURLRequest *) request navigationType:(UIWebViewNavigationType) navigationType
{
NSString *mimeType = [request ...
0
votes
1
answer
264
views
Migrating from UIWebView to WKWebView/ Configuration cannot be nil
Error when trying to switch my objective-c project from UIwebview to WKwebview
NSURL* webViewURL = webView.request.URL;
NSString* urlString = [webViewURL absoluteString];
if([urlString containsString:...
1
vote
2
answers
1k
views
Webview disable opening installed Apps by clicking on link
I have a simple WebView in my Project. The user can google and search for anything. The problem that I have right now is that by clicking on certain links, I get automatically redirected to the ...
1
vote
0
answers
289
views
Which is the best way and most secure for pass sensitive data to WKWebView with Swift?
For my scenario, I have to use WKWebview for render some content but I want to authentication between my application and my webview first by use accesss token.
I have no idea how to pass token to ...
0
votes
0
answers
313
views
React Native - IOS In App Purchase webview
I'm using react-native to build an app for my website(webview).
Payment method is already available in the website.
App store rejected my app for not using In-App-Purchase.
What should I do to make ...
0
votes
1
answer
830
views
Swift: Crash in libMainThreadChecker while loading WKWebView
I am using Xcode 13.1.
Following Crash occurred in WKWebView!
NSException * "Completion handler passed to -[WebViewController webView:decidePolicyForNavigationAction:decisionHandler:] was not ...
0
votes
1
answer
39
views
I have to deleted the libNativeStrands.a file which uses UIWebView. After that I am getting the below error _OBJC_CLASS_$_IMNativeStrands",InMobi
I have to deleted the libNativeStrands.a file which uses UIWebView. After that I am getting the below error OBJC_CLASS$_IMNativeStrands",InMobi
Undefined symbols for architecture x86_64:
"...
0
votes
0
answers
103
views
UITabBar custom color in WebView
Is there a way to customize the TabBar design in different views, cause I don't want my WebView to have the red color design, but rather a transparent design.
Here's the code:
struct TabView1: View {
...
1
vote
1
answer
1k
views
Swift WKWebview Initial zoom and magnification
I have a webview that zooms in and out properly via zoom scale.
However, I would like to set the initial zoom scale when the webview is loaded.
For example, I would like the web view to be presented ...
1
vote
1
answer
4k
views
Window webkit failure postMessage iOS Swift
I am trying to create a library that open a web view in a class, where the objetive is opened it but does not see it in the screen. I created and try to execute a javaScript that makes a postMessage, ...
1
vote
1
answer
886
views
how can I export a portion of ios app as sdk or library
I want to export a view with a couple of UI elements as a standalone library/SDK.
I have been able to achieve this in android by exporting an app as .aar , then importing it as library and calling the ...
1
vote
1
answer
355
views
AppStore keeps rejecting my build due to having UIWebView even though I removed all usage
Apple has stopped accepting new apps with UIWebView, my app had some usage and was removed then I updated the FB sdk and it was removed there yet my build is getting rejected,
Contacted apple support ...
1
vote
1
answer
951
views
is apple store accept the app part of it depend on UI web view flutter
recently I have been working on Flutter app and I read that the App Store will no longer accept any app that uses UI web view,
so here is my question what about if part of my app depends on UI web ...
-1
votes
1
answer
542
views
WebView load crashes on url opening
I have an app that retrieves urls from a json and when the user clicks on a button the UIWebView opens to the url. The problem is that when I added utm codes to the urls the app started to crash and ...
0
votes
1
answer
440
views
WKWebView not displaying pdf files in web view after app update
I just recently updated my app, and when I did so, I noticed that a web view that had been working just fine before the update no longer displays pdfs as it should. I made no modification to this ...
1
vote
1
answer
671
views
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView on my unity game
when upload my game on app store and then i got error.(Error is given below)
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved ...
3
votes
1
answer
479
views
Force AutoFill Save Password dialog programmatically
I setup Password AutoFill in my iOS 14 app. The app uses multiple tabs. Associated Domains are also set up. All works as expected.
I have a Test button below the user/password TextFields, which the ...