title: Set rating right in the App (Swift 3, iOS 10.3)
body: <p>I have a menu-button in my app. If user clicks this button he sees UIAlertView which include app-link to the App Store.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>@IBAction func navButton(_ sender: AnyObject) {
  
  let alertController = UIAlertController(title: "Menu", message: "Thanks for using our app!", preferredStyle: .alert)
  alertController.addAction(UIAlertAction(title: "Rate Us on the App Store", style: .default, handler: { (action: UIAlertAction) in
  print("Send user to the App Store App Page")
  
  let url  = URL(string: "itms-apps://itunes.apple.com/app/id")
       if UIApplication.shared.canOpenURL(url!) == true  {
       UIApplication.shared.openURL(url!)
  }  
  }))
  </code></pre>
  
  <p>I know that in iOS 10.3 there was an opportunity to set a rating right in the application. What should I change, so that when a user clicks on a link in UIAlertView, he could set a rating right in the application?</p>
  
  <p>I found some information on Apple Developer website (<a href="https://developer.apple.com/reference/storekit/skstorereviewcontroller" rel="nofollow noreferrer">https://developer.apple.com/reference/storekit/skstorereviewcontroller</a>) but I don't know how to do this in my app.</p>