Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
485 views
in Technique[技术] by (71.8m points)

ios - Swift/CallKit. Is it possible to notify CallKit about accepting incoming call by custom UI?

I need to accept the call by tapping custom UI button. From native push call screen system is notified by CXProviderDelegate method

func provider(_ provider: CXProvider, perform action: CXAnswerCallAction)

screenshot But how to notify CallKit with custom UI?

E.g. I can notify CallKit about ended call by method

reportCall(with UUID: UUID, endedAt dateEnded: Date?, reason endedReason: CXCallEndedReason)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...