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

前端 未结 13 697
面向向阳花
面向向阳花 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:29

    Swift 4

    let url = URL(string: "itms-apps:itunes.apple.com/us/app/apple-store/id\(YOURAPPID)?mt=8&action=write-review")!
    UIApplication.shared.openURL(url)
    

提交回复
热议问题