我正在使用Safari ViewController,地址栏是禁用的。我如何使它启用,以便用户可以输入其他url?

这是我正在使用的代码
class ViewController: UIViewController, SFSafariViewControllerDelegate {
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func showSafariVC(_ sender: AnyObject) {
let svc = SFSafariViewController(url: NSURL(string: "http://www.google.com") as! URL)
svc.delegate = self
present(svc, animated: true, completion: nil)
}
}发布于 2017-01-10 09:14:17
https://stackoverflow.com/questions/41564845
复制相似问题