iOS 从应用程序跳转到评价界面

时间:2022-02-03 23:50:38

1,跳转到App Store:

NSString *str = [NSString stringWithFormat:@"http://itunes.apple.com/us/app/id%d",
];

[[UIApplication sharedApplication] openURL:[NSURL urlWithString:str]];



是App
ID



2,跳转到评价页面:

NSString *str = [NSString stringWithFormat:  @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?

type=Purple+Software&id=%d",436957167
];  

[[UIApplication sharedApplication] openURL:[NSURL urlWithString:str]];



3,直接跳转到App Store:

http://phobos.apple.com/。

。。