I can see that there are many ways to write the url for rating the app,
my way is :
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/us/app/appName/id-----------?mt=8"]];
i saw many other ways like :
@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=341086403";
i cant check that, and i want to be sure.
whats the way to do that ?
Not really sure what your question is here. You are using
openURLcorrectly to redirect the user to the App Store. iOS will parse this URL, see that its an iTunes app link and redirect the user accordingly.Also, the Second example you posted is to redirect the user to the Customer Reviews page for the app.