Questions tagged [sfsafariviewcontroller]

Controller which allow you to present web content within the app.

The new SFSafariViewController class enables you to deliver interactive web content in your app just like Safari, including the key Safari UI elements already familiar to your users. See how to easily bring Safari features like Reader and AutoFill into your app, and provide a great web viewing experience with fewer lines of code.

309 questions
1
vote
2 answers

Safari View Controller Swipe Left to dismiss goes black

I have an iOS app which holds a wkWebView. This wkWebView has links which can pop open an instance of SafariViewController. When SafariViewController is launched and you swipe right to dismiss sometimes it works but sometimes it goes black. I've…
mKane
  • 932
  • 13
  • 30
1
vote
2 answers

Can iPhone 6[OS 9.2] be automated using SFSafariViewController,appium & Selenium WebDriver?

I am new to SFSafariViewController. I worked with ios-webkit-proxy & appium using selenium webdriver for iPhone 6[OS 9.2] automation. I just wanted to know whether we can automate a web application in iPhone using…
1
vote
0 answers

iOS - SFSafariViewController Freezes/Hanging

I wrote the simplest possible code to launch a SFSafariViewController in my view controllers 'viewDidAppear' method. let svc = SFSafariViewController(URL: NSURL(string: "https://google.com")!) self.presentViewController(svc, animated: true,…
blee908
  • 12,165
  • 10
  • 34
  • 41
0
votes
0 answers

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 poses a bit of a problem. When I change the user…
0
votes
0 answers

Passwordless single sign on using SFSafariViewController in swift

I integrate with safariService (SFSafariViewController) to log in through a single sign-on password, the problem was the first time I log in using SFSafariViewController the authentication does not complete the first time so the Safari browser still…
0
votes
0 answers

failed to get cookies in SFSafariviewcontroller

I am using AppAuth pods for authentication (https://github.com/openid/AppAuth-iOS) and was wondering how Safari webkit is managing the application context for the cookies saved while authentication.    I made sure I have a successful authentication…
0
votes
0 answers

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 NavigationLink. The issue is that the tappable…
kittonian
  • 1,020
  • 10
  • 22
0
votes
0 answers

Navigation bar is being displayed correctly using Firefox and Chrome, but when opening the website with Safari on an iPad or Mac(Safari) is not show

but doesn't show navbar element on safari browser. It's only showed the colored line, the error doesn't want to appear when pressed, the menu section doesn't open the error doesn't want to appear when pressed, the menu section doesn't open, how can…
0
votes
0 answers

Swift allowsInlineMediaPlayback with SFSafariViewController

Problem: I would like to implement a similar solution that WKWebView has but with SFSafariViewController. allowsInlineMediaPlayback = false let webConfiguration = WKWebViewConfiguration() webConfiguration.allowsInlineMediaPlayback = false How…
0
votes
1 answer

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. So how long does SFSafariViewController cache…
ArgenBarbie
  • 571
  • 1
  • 4
  • 10
0
votes
1 answer

How to open user's URL-link (any link) from UITextField in SFSafariViewController with interval? / Swift 5

Hello everyone!) Need some help!) How can I open any URL-link from UITextField in SFSafariViewController with interval? This is what I meant when I said "any link"… First: I means that if we have full link with https://.., like:…
Gucci
  • 47
  • 1
  • 7
0
votes
0 answers

How to load html string in Xamarin forms using SFSafariViewController?

We currently use WebView to load html content.But the payment gateway loaded has Apple Pay button which only gets enabled in Safari browser. We are kinda stuck because **1.In iOS safari and sfsafaricontroller objects support Apple…
0
votes
1 answer

Problem loading a URL in WKWebView that works fine on SFSafariViewController

I'm trying to load the following url inside a WKWebView: https://sia.unal.edu.co/ServiciosApp/facespublico/public/servicioPublico.jsf?taskflowId=task-flow-AC_CatalogoAsignaturas but it is not working as expected. When loading it on a…
FelipeCruzV10
  • 426
  • 6
  • 13
0
votes
1 answer

How to set the desired color for the background of the safari app extension

don't scold me for dumb questions, but I need your help, how much I googled - I could not find anything. I don't understand how to change the background of the main SafariExtensionViewController to the rgb I want?
0
votes
2 answers

in iOS, is there a way to detect if a web page is loaded with SFSafariViewController vs the normal Safari Browser using Javascript?

Is there a way to detect if a web page is loaded with SFSafariViewController vs the normal Safari Browser using Javascript?
o-vexler
  • 31
  • 1
  • 4