让用户在应用中进入 App Store 打分的代码:
NSString *urlStr = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@",m_appleID]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];
m_appleID 是你在Itunes上提交程序时生成的Apple ID