title: Safari ViewController with enabled address bar
body: <p>I'm using Safari ViewController and address bar is disabled. How can I make it enabled so user can enter other url?</p>
  
  <p><a href="https://i.stack.imgur.com/M2SrF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M2SrF.png" alt="enter image description here"></a></p>
  
  <p>Here is the code that I'm using </p>
  
  <pre><code>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)
      }
  }
  </code></pre>