315 questions
1 vote
1 answer
184 views
Issue detecting Stripe Onboarding Redirects in SwiftUI (iOS)
I’m trying to integrate Stripe Onboarding in my SwiftUI app, so my users can sign-in to Stripe and than get back to my app after they finish. and my server is already issuing two HTTPS redirects for ...
0 votes
0 answers
37 views
Flutter Sfsafariviewcontroller stuck on whitescreen with ChromeSafariBrowser
I am facing an issue when opening URLs with: await ChromeSafariBrowser().open( url: WebUri(url), ); It works on a real device, only happens on simulator This results in a whitescreen, where I'm ...
1 vote
1 answer
145 views
iOS SwiftUI SafariView Bug - Why is the first URL not loading properly?
I am building a SwiftUI application with a list of products, where each product has an associated URL. When the user clicks the “Info” button of a product, a SafariView should open to display the ...
0 votes
1 answer
244 views
SFSafariViewController and Chrome Custom Tabs Cookie Behaviour
We have a mobile app that sometimes jumps out to our website to show certain pieces of content. Currently for these jumps we use SFSafariViewController on iOS and Chrome Custom Tabs on Android, we are ...
1 vote
1 answer
760 views
‘Add eSIM’ option in the eSIM QR code long press context menu | WKWebView vs SFSafariViewController
I’m trying to show a eSIM QR code via a WKWebView and get the ‘Add eSIM’ option when the user long press on the QR code. But when I long press on my device it doesn’t show the ‘Add eSIM’ option in the ...
0 votes
1 answer
145 views
Dismiss SFSafariViewController without animation on "Done" tap
After presenting SFSafariViewController modally, a user presses the "Done" button and the controller is dismissed with animation. If I implement the delegate and try to dismiss it without ...
1 vote
1 answer
201 views
how do I fix the gap at the bottom of a sheet with SFSafariViewController
I'm trying to embed Safari in a drawer in swiftui. Clicking a button will open the drawer with the SFSafariViewController. I have the following code: import SwiftUI import SafariServices struct ...
0 votes
1 answer
74 views
How to open the desktop version of a link but using SafariServices
I want to open the desktop version of a link using SFSafariViewController. I have found solutions for how to use SFSafariViewController and separately for how to open the desktop version of a link but ...
1 vote
0 answers
112 views
Why's SFSafariViewController's "Listen to Page" button disabled for the same link which is enabled in the real iOS Safari
I am using SFSafariViewController to open links in my app. Regardless of which link, the "Listen to Page" button is disabled. However, it's enabled and works fine if the same link is opened ...
1 vote
1 answer
385 views
Prevent/disable 3rd party keyboards for WkWebView web views
Background: The iOS app I am working on is a native app but has a few web views using SFSafariViewController. Due to security requirements, the app needs to prevent the user from using 3rd party ...
1 vote
0 answers
2k views
Streaming Netflix in an Android WebView
I am trying to make an Android app that will play Netflix in a WebView so that I can mimic the functionality of a Chrome extension. Apparently Netflix doesn't allow streaming on mobile browsers which ...
2 votes
1 answer
397 views
SFSafariViewController Done Button Tappable Area Too Small
There is another post on SO regarding this issue but it's from a while back and only deals with UIKit, not SwiftUI. I have SFSafariViewController working perfectly, and am using it via a programmatic ...
2 votes
0 answers
253 views
Swift YouTube video in Full Screen & Auto Play with SFSafariViewController
Problem: I would like SFSafariViewController to autoplay a YouTube video in full screen. Code: import SafariServices @objc func handleYTTap(_ sender: UIGestureRecognizer) { let ...
0 votes
1 answer
224 views
SFSafariViewController - How long does the cache last?
In my application, it opens a website using SFSafariViewController. I don't want user to always login when opening the website. And I didn't find any documentation about SFSafariViewController cache. ...
1 vote
1 answer
210 views
Fixing reposition of Done when rotating in SFSafariViewController
I am fairly new to iOS and am a bit stuck on this issue. The problem is that when I rotate the device from landscape to portrait in SFSafariViewcontroller the DONE button gets pushed up. See image ...