在我的 iPhone 应用程序中评价我在 iTunes 中的应用程序 [英] Rate my Application in iTunes within my Application in iPhone
问题描述
我必须在我的应用程序中提供一个链接,用户可以在其中触摸它,它将带我到我的应用程序的 itunes Appstore 页面,用户可以在其中对应用程序进行评分.我认为其他应用程序尝试访问设备中的Appstore应用程序并在iTunes中传递应用程序的相应url......如何做到这一点?任何想法...
I have to provide a link in my app where the user touches on it it will take me to the itunes Appstore page of my application where the user can rate the Application. I think other apps try to access the Appstore Application in the device and pass the corresponding url of the application in itunes... How to do this? Any ideas...
推荐答案
这是我的方法;这会直接转到 App Store 和我的应用的评论/评分"页面:
Here's my method; this goes straight to the App Store and to the Review/Rate page for my app:
- (IBAction)rateGame {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=409954448"]];
}
只需将末尾的 id (409954448) 更改为您的应用程序的 id.此外,如果您跟踪启动次数或其他内容,您可以在 12 次启动后触发此方法以提高收视率.我在我的更新中添加了这个,在大约 2 周内它产生了 5 个评级.非常有用.
Just change the id at the end (409954448) to the id for your app. Also, if you track the launch count or something, you can trigger this method after, say 12 launches to increase ratings. I added this in my update and in about 2 weeks it generated 5 ratings. Very useful.
这篇关于在我的 iPhone 应用程序中评价我在 iTunes 中的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!