How to close call kit when call doesn't connect but call kit ui is running in the background
- 阅读更多 关于 How to close call kit when call doesn't connect but call kit ui is running in the background
问题 It happens many times that when call is started it doesn't connect and I can't figure out where it is getting stuck. When it happens the callkit ui is already started as I can see that green notification bar. How do I close callkit ui in this case when call hasn't been connected but callKit ui is running in the background? 回答1: If call has ended by the remote side prior to connecting, you need to report the ended call to CXProvider object. provider.reportCall(with: callUUID, endedAt: Date(),