跳转到APP Store对应的应用

用于给我们的应用打分,需要跳转到APP Store的情况下.

点击事件里面写:

NSString *url = [NSString stringWithFormat:

@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",

@"123456789"];//@"123456789"代表应用的APP ID

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];

你可能感兴趣的:(跳转到APP Store对应的应用)