I have UINavigationController, firstViewController (rootController for navigationController), secondViewController and SFSafariViewController.
If I present SFSafariViewController from firstViewController, it shown correctly and load page successfully. But, if I move to secondViewController, and try to present SafariViewController, I see only white window.
I tried to present SFSafariViewController from:
override func viewDidAppear(animated: Bool)
And I tried to present SFSafariViewController by touch on button and had same result. The code for show SFSafariViewController:
let urlString:String = "https://google.com"
let url = NSURL(string:urlString)!
let svc = SFSafariViewController.init(URL: url)
self.navigationController?.presentViewController(svc, animated: true, completion: nil)