I am trying to display a specific view controller once a user answers the call using CallKit. Currently, in the CXAnswerCallAction I am trying to use:

if UIApplication.shared.canOpenURL(URL(string: "URLgoesHERE://")!) { UIApplication.shared.openURL(URL(string: "URLgoesHERE://")!) } //replaced my URL Schema for question

But I am getting the following error:

failed for URL: "URLgoesHERE://" - error: "This app is not allowed to query for scheme URLgoesHERE"

Any other ideas?