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

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

    WARNING: If you are running your app on a simulator

     UIApplication.sharedApplication().openURL(NSURL(string : "url")!) 
    

    will not work because there is no app store in the simulator. In order to test this functionality you must run your app on a device.

提交回复
热议问题