In my SpriteKit games, all in landscape, I am showing a SafariViewController.
func showSafariViewController(forURL url: String) {
guard let validURL = NSURL(string: url) else { return }
let safariViewController = SFSafariViewController(URL: validURL)
safariViewController.delegate = self
// present safariViewController
}
The open/closing animation is from the right side.
When using the Facebook SDK to login with Facebook it looks like they are using a SafariViewController as well and it animates in/out from the bottom.
Is there a way I can achieve this as well?