static let sharedInstance無法從Objective C代碼訪問
[英]static let sharedInstance not accessible from Objective C code
問題: 在構建主應用程序目標時,無法從Objective C代碼訪問聲明的static let sharedInstance。 碼: 語境: 此文件包含在2個目標中[主要iOS應用程序和共享擴展] 在swift to objc生成的主應用程序頭中,swift ...