代码:
//点击任何处跳转到百度的页面 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.baidu.com"]]; }
时间: 2024-10-11 17:07:45
代码:
//点击任何处跳转到百度的页面 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.baidu.com"]]; }