我已經將MobileCoreServices.framework添加到我的Xcode項目中,並且在我的文件頂部有語句import MobileCoreServices
。在Swift中使用LSApplicationWorkspace
我的代碼
let test = LSApplicationWorkspace.defaultWorkSpace()
而且Xcode中說Unresolved Identifier LSApplicationWorkspace
行我試圖清理並重建項目。有任何想法嗎?
您是否找到了獲取LSApplicationWorkspace的方法? – User9527