YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

Catalyst Support Please!

Open roarapps opened this issue 4 years ago • 6 comments

Trying to build this in Catalyst and getting an error, be good to have a wrapper so it won't fail

'jpegPhotoDataRepresentation(forJPEGSampleBuffer:previewPhotoSampleBuffer:)' is unavailable in Mac Catalyst

roarapps avatar Jun 03 '20 03:06 roarapps

Same here, thanks for this amazing picker !

boblepepeur avatar Jun 15 '20 12:06 boblepepeur

Looks very easy to support Catalyst,

just add

#if !targetEnvironment(macCatalyst) ... #endif

where you have some errors

boblepepeur avatar Jun 15 '20 12:06 boblepepeur

Yea, i guess we could do a PR. I vote @boblepepeur to do this :)

roarapps avatar Jun 17 '20 03:06 roarapps

ahaha, I will take a look, i can compile it on catalyst but the view is broken on big screen

boblepepeur avatar Jun 17 '20 07:06 boblepepeur

This is a great idea, I have very little time available at the moment so if one o you could take a crack at it that'd be great 👍

s4cha avatar Aug 05 '20 12:08 s4cha

https://github.com/Yummypets/YPImagePicker/releases/tag/5.2.1 removed jpegPhotoDataRepresentation. Now should work. Someone test please!

NikKovIos avatar Jan 09 '22 08:01 NikKovIos