Post

Replies

Boosts

Views

Activity

How to obtain UIImage from PHLivePhoto?
Inside func picker(_ picker: didFinishPicking results:) I am trying to obtain a UIImage from a Live Photo. I have parsed the results and filtered by regular still photos and live photos. For the still photos, I already have the UIImage but for the live photos I do not understand how to get from a PHLivePhoto to the PHAsset. if let livePhoto = object as? PHLivePhoto {   DispatchQueue.main.async { // what code do I insert here to get from PHLivePhoto to a UIImage? I need to extract a UIImage from a PHLivePhoto } } Thanks for the help in advance!
1
0
1.9k
Jan ’22
How to obtain UIImage from PHLivePhoto?
Inside func picker(_ picker: didFinishPicking results:) I am trying to obtain a UIImage from a Live Photo. I have parsed the results and filtered by regular still photos and live photos. For the still photos, I already have the UIImage but for the live photos I do not understand how to get from a PHLivePhoto to the PHAsset. if let livePhoto = object as? PHLivePhoto {   DispatchQueue.main.async { // what code do I insert here to get from PHLivePhoto to a UIImage? I need to extract a UIImage from a PHLivePhoto } } Thanks for the help in advance!
Replies
1
Boosts
0
Views
1.9k
Activity
Jan ’22