4 NSWorkspace有几个方法: openFile:withApplication: openURLs:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers: 要使用第二种方法,你需要知道你要打开浏览器的捆绑标识符。 来源 2010-01-09 05:19:36 Darren +0 啊,这很有道理。我读了该方法的开头,并假定它可以工作,因为描述“从一组URL中打开一个或多个文件”。 非常感谢! – friedenberg 2010-01-09 14:09:00
啊,这很有道理。我读了该方法的开头,并假定它可以工作,因为描述“从一组URL中打开一个或多个文件”。 非常感谢! – friedenberg 2010-01-09 14:09:00