Created
September 3, 2018 07:00
-
-
Save fitomad/123d2f386c541d31234c284e0d3fee4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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