目前我正在尝试使用 callDirManager.reloadExtension(withIdentifier: "com.companyname.appname", completionHandler: nil)
这个方法,但它对我不起作用。请帮我解决这个问题。
最佳答案
import CallKit
CXCallDirectoryManager.sharedInstance.reloadExtension(withIdentifier:
"your Identifier") { (error) in
//some code
}
关于ios - 如何在 CallKit 框架 swift 中从 ViewController 重新加载扩展?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50037895/