Is it possible to get app id from iOS application programmatically?

前端 未结 6 1077
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-01 11:59

Is there any way for getting appstore id from running iOS application? (For asking user to rate it and providing link to appstore.)

6条回答
  •  死守一世寂寞
    2021-01-01 12:18

    You can use the Apple iTunes Link Maker to search for your App (or any app for that matter) and get your App Store URL. From there you could get your App URL which will remain the same for your App and put it in your Application. When you use itms:// instead of http://, it will directly open in the App Store app directly

    For example, if I wanted to use the Twitter App URL, the link maker tells me the URL is:

    http://itunes.apple.com/us/app/twitter/id333903271?mt=8&uo=4
    

    Now do the itms trick:

    itms://itunes.apple.com/us/app/twitter/id333903271?mt=8&uo=4
    

    And it will directly open in the App Store than redirect via Safari then to the App Store,

提交回复
热议问题