用于給我們的應(yīng)用打分,需要跳轉(zhuǎn)到APP Store的情況下.
點擊事件里面寫:
NSString *url = [NSString stringWithFormat:
@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",
@"123456789"];//@"123456789"代表應(yīng)用的APP ID
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];