标签:
//1.进入appstore中指定的应用 NSString *str = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d",myAppID ];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]]; // 其中myAppID为itunesconnect中的应用程序id //2.进入首页 NSString *str = [NSString stringWithFormat: @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",m_myAppID ]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
//3、进入appstory评分 NSString *str = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d", APPID/*此处的appID是在iTunes Connect创建应用程序时生成的Apple ID*/ ]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
标签:
原文地址:http://www.cnblogs.com/yang99/p/4862490.html