我已经将MobileCoreServices.framework添加到我的Xcode项目中,并且在我的文件顶部有语句import MobileCoreServices
。在Swift中使用LSApplicationWorkspace
我的代码
let test = LSApplicationWorkspace.defaultWorkSpace()
而且Xcode中说Unresolved Identifier LSApplicationWorkspace
行我试图清理并重建项目。有任何想法吗?
您是否找到了获取LSApplicationWorkspace的方法? – User9527