iOS 跳轉到AppStore評論區

 1     NSString *str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@",@"414478124"];
 2     NSURL * url = [NSURL URLWithString:str];
 3     
 4     if ([[UIApplication sharedApplication] canOpenURL:url])
 5     {
 6         [[UIApplication sharedApplication] openURL:url];
 7     }
 8     else
 9     {
10         NSLog(@"can not open");
11     }
相關文章
相關標籤/搜索