API to provide Apple App Store ratings from within an iPhone application
I have created an application for the iPhone with many features and would like to add a 'rating feature' to it. The user can then, from within my application, provide an Apple App S开发者_运维知识库tore rating -- so that my application can be shown at the top.
Does anyone know how to add this feature to an iPhone app?
I don't think it's possible to have the user rate your application in the App Store from within your application. Instead you can link to your application in the App Store (create an NSURL and use openURL to open it) so that users can provide a rating there. To get the correct link to your app, find it in the App Store and select Copy Link from the menu directly under your application's icon.
you can use an API such as iRate https://github.com/nicklockwood/iRate It redirects the user to the appropriate place in the App store and provides some logic for prompting her to rate the app based on usage time and frequency.
精彩评论