Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
dismiss(animated: true) {
if let image = info[UIImagePickerController.InfoKey.livePhoto] as? PHLivePhoto {
self.processLivePhoto(livePhoto: image)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment