title: swift open link in safari/app store
body: <p>I have a simple iOS app and I'm in the process of developing a pro version of the app. I will then add a hyperlink to the existing app that will point to the url of the pro app in the app store. So is there any recommended way to do this so when the user taps the link, they will be forwarded to the pro app's page on the app store?</p>
  
  <p>Will the user be redirected to the app store if I simply use this piece of code?</p>
  
  <pre><code>UIApplication.sharedApplication().openURL("http://itunes.apple.com/myappname")
  </code></pre>