iOS應用跳轉到appstore評分,首頁

weixin_34120274發表於2017-06-14
傳入第一次在itunesconnect建立應用時建立的appID

評分

  NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@&pageNumber=0&sortOrdering=2&mt=8", @""]; 



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

跳轉到首頁

NSString *str2 = [NSString stringWithFormat: @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",  @""];

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

相關文章