// 评分
NSString *str = [NSString stringWithFormat:
@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@",
@"346703830"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
//软件首页
NSString *str2 = [NSString stringWithFormat:
@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",
@"346703830"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str2]];
NSString *str = [NSString stringWithFormat:
@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@",
@"346703830"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
//软件首页
NSString *str2 = [NSString stringWithFormat:
@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",
@"346703830"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str2]];
本文介绍如何使用Objective-C代码实现从应用内直接跳转到iOS App的评分页面及应用首页的方法,通过特定格式的URL Scheme来引导用户进行评价或返回应用主页。
1401

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



