Skip to content

Instantly share code, notes, and snippets.

@cybertk
Last active August 29, 2015 14:27
Show Gist options
  • Save cybertk/d0f9469b194b1e60525e to your computer and use it in GitHub Desktop.
Save cybertk/d0f9469b194b1e60525e to your computer and use it in GitHub Desktop.

Revisions

  1. cybertk renamed this gist Aug 20, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. cybertk renamed this gist Aug 20, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. cybertk created this gist Aug 20, 2015.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // See http://stackoverflow.com/questions/3124080/app-store-link-for-rate-review-this-app
    func jumpToAppStore(appID: String) {
    let url = "itms-apps://itunes.apple.com/app/id\(appID)"
    UIApplication.sharedApplication().openURL(NSURL(string: url)!)
    }