@@ -380,7 +380,15 @@
NSString *shareUrl = [[NSString alloc] initWithFormat:@"%@%@",serUrl,_dataModel.token];
NSURL *URL = [NSURL URLWithString:shareUrl];
- [[UIApplication sharedApplication] openURL:URL];
+ //[[UIApplication sharedApplication] openURL:URL];
+
+ [[UIApplication sharedApplication] openURL:URL options:@{} completionHandler:^(BOOL success) {
+ if (success) {
+ NSLog(@"URL成功打开");
+ } else {
+ NSLog(@"无法打开URL");
+ }
+ }];
}
else if(tag == 10){