- (IBAction)btnClick:(UIButton*)sender {
NSString *str = @"appStore上应用的地址";
NSURL *url = [NSURLURLWithString:str];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication] openURL:url];
}else{
return;
}
}
- (IBAction)btnClick:(UIButton*)sender {
NSString *str = @"appStore上应用的地址";
NSURL *url = [NSURLURLWithString:str];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication] openURL:url];
}else{
return;
}
}