admin 管理员组

文章数量: 1086019

1.在ViewController中添加button action

2.

- (IBAction)url:(id)sender {

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.baidu"]];                         

}

3.测试通过

本文标签: 跳转到 打开网页 浏览器 iOS