标签:
1 NSString * appstoreUrlString = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=625009752"]; 2 3 NSURL * url = [NSURL URLWithString:appstoreUrlString]; 4 5 if ([[UIApplication sharedApplication] canOpenURL:url]) 6 { 7 [[UIApplication sharedApplication] openURL:url]; 8 } 9 else 10 { 11 NSLog(@"can not open"); 12 } 13
标签:
原文地址:http://www.cnblogs.com/zhaoyutang/p/5113919.html