Instantly share code, notes, and snippets.

Embed
What would you like to do?
func responseController(_ controller: ResponseRideViewController, didCancelSiriDonation identifier: String) -> Void {
INInteraction.delete(with: [ identifier ], completion: { (error: Error?) -> Void in
if let error = error {
os_log("Error al borrar la donación. %@", error.localizedDescription)
} else {
os_log("Donación borrada")
}
})
self.hideResponseForm()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment