Saturday, November 7, 2026
HomeiOS Developmentios - Is there may be an method to determine which telephone...

ios – Is there may be an method to determine which telephone name is made to in CallKit Swift

[ad_1]

I am making an app for recording requires iOS, and it really works in the best way that, the decision is made to service quantity and name merged.I’m observing when name has ended as a way to obtain audio from server.

extension RecordingsAPIManager: CXCallObserverDelegate {
func callObserver(_ callObserver: CXCallObserver, callChanged name: CXCall) {
    if name.hasEnded {
        DispatchQueue.primary.asyncAfter(deadline: .now() + 1) { [weak self] in
            self?.getRecordings(isOutgoing: name.isOutgoing)
        }
    }
}

}

However since I additionally move isOutgoing as an parameter, the decision to good friend and name to service should not get rearranged.So is there may be an method to determine which name has ended, if know the service quantity?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments