Post

Replies

Boosts

Views

Activity

Why am i getting an error when trying to load a HEIC photo from PHPickerResult?
In Xcode 12 beta 4 i could load both a jpeg and HEIC image using itemProvider.loadObject(ofClass: UIImage.self). But in beta 5 when using it with a HEIC file i get "Error Domain=NSItemProviderErrorDomain Code=-1000 "Cannot load representation of type public.jpeg"" Is this by design? Also, itemProvider.canLoadObject(ofClass: UIImage.self) still returns true for both jpeg and HEIC files.
6
1
9.4k
Aug ’20