I am using CTCallCenter
in my project. Now it's deprecated, I would like to know what are alternatives? How to get the event for the voice call?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- “Zero out” sensitive String data in Swift
- back button text does not change
- SwiftUI: UIImage (QRCode) does not load after call
相关文章
- 现在使用swift开发ios应用好还是swift?
- Using if let syntax in switch statement
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
- Swift - hide pickerView after value selected
- Is there a Github markdown language identifier for
This is poorly documented, but I've found this mention in
CTCallCenter
public header files:So, from iOS 10 you should use
CXCallObserver
class of newCallKit
framework to retrieve info about active calls:Provide object, conforming to
CXCallObserverDelegate
protocol and queue, on which you want to perform delegate callbacks:and implement the following method on your delegate object:
For more information, you can check: