title: Swift - open web page in app, button doesn't react
body: <p>I created a button to make a call from app:</p>
  
  <pre><code>   @IBAction func callButton(sender: AnyObject) {
      if (PhoneNumber != ""){
      UIApplication.sharedApplication().openURL(NSURL(string: "telprompt://\(PhoneNumber)")!)
      }
  }
  </code></pre>
  
  <p>and it works perfectly fine. Strange thing happens when I want to open a web page. I use nearly exactly same code </p>
  
  <pre><code>    @IBAction func openWeb(sender: AnyObject) {
      UIApplication.sharedApplication().openURL(NSURL(string: "www.google.com")!)
  }
  </code></pre>
  
  <p>But this time button doesn't react and nothing happens. Wherever I was looking for some information about opening web pages in safari from the app, the code was written exactly this way. Do you have any idea where the problem is?</p>
  
  <p>Thanks in advance!</p>