Mac开发 浏览器中打开一个URL连接地址

-(IBAction)openWeibo:(id)sender{
    [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://e.weibo.com/pc175"]];

}

你可能感兴趣的:(cocoa,xcode,Objective-C)