0

I get notification by using CallKit and Azure Notification Hub.

func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) {
        action.fulfill()

        print("Answered.")
}

CallKit is in the AppDelegate.swift file. Console prints "Answered." when call is accepted, but I also want to change the view controller which is the thing i could not. I have tried to change the view controller by using this answer. -> Here

It did not work for me. Do you have any idea or am i in the wrong way?

0 Answers0