I developing a calling app such as Whatapp and skype. The my question is that when my phone is locked and another user is calling me then from the lock screen I will get a notification and if I swipe the notification then the call automatically received.(using callkit of course)
I`m just a wondering is it possible to see the callkitUI screen same as when another user call me when my phone is unlocked??
That would be really helpful, If anyone know the detail, solutions, or any information regarding it.
I already checked the below documents.
ENHANCE YOUR VOIP APP USER EXPERIENCE USING PUSHKIT + CALLKIT
here is my code.
func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) {
action.fulfill()
print("=================CXAnswerCallAction============")
self.window = UIWindow(frame: UIScreen.main.bounds)
let storyboard = UIStoryboard(name: "VoipAcceptUser", bundle: nil)
let initialViewController = storyboard.instantiateViewController(withIdentifier: "VoipAcceptUser")
self.window?.rootViewController = initialViewController
self.window?.makeKeyAndVisible()
}