How can I add a link for a rate button with swift?

前端 未结 13 691
面向向阳花
面向向阳花 2021-01-29 18:57

First I don\'t know how to get the link before I submit my app, and if the link is for each country app store or is it universal?

Also I don\'t know if the way to do it

13条回答
  •  走了就别回头了
    2021-01-29 19:30

    Swift 3

      func rateApp(){
    UIApplication.shared.open(URL(string : "itms-apps://itunes.apple.com/app/id959379869")!, options: [:]) { (done) in
      // Handle results
    
    }}
    

    id959379869 This is the id when you go on your iTunes page of your app

提交回复
热议问题