Daniel
Daniel

Reputation: 2998

How to make SFSafariViewController open link in new Window (IOS Development)

After implemented SFSafariViewController. when navigatin through a web site that contains a link with target=_blank or a javascript with window.open the Link is opened in the same view, I would like to open it in another View, or make it create windows automatically!

Upvotes: 0

Views: 2595

Answers (1)

MShahmeer
MShahmeer

Reputation: 159

Safari View Controller does not support windows. You would be better off making your own mini web browser using WKWebView for total control and customisation as Apple also specifies in the docs: https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller

Upvotes: 1

Related Questions