现在的位置: 首页 > 综合 > 正文

调用 safari浏览器的方法

2017年11月10日 ⁄ 综合 ⁄ 共 159字 ⁄ 字号 评论关闭

- (IBAction) runXprogressComButton: (id) sender {

NSURL *url = [ [
NSURL
alloc ] initWithString:
@"http://www.xprogress.com/" ];

[[UIApplication
sharedApplication] openURL:url];

}

抱歉!评论已关闭.