1.进入App Store中指定的应用
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]];
本文介绍如何通过iOS代码实现直接跳转至AppStore中指定的应用页面或首页的方法。使用特定格式的URL Scheme可以轻松地打开AppStore并定位到所需的应用详情页。
405

被折叠的 条评论
为什么被折叠?



