0

I'm trying to present a share sheet with an image. I'd expect the "Save Image" option to be there but it's not. Is there some trick to getting this working?

1 Answer 1

2

The poorly documented solution (and wildly unnecessary from a privacy standpoint since it requires no user approval?) is to add NSPhotoLibraryAddUsageDescription to your info.plist. Then the option will magically appear. 🙃✌️

Sign up to request clarification or add additional context in comments.

6 Comments

Just tried that, doesn't seem to work anymore... I can save it to files though. What a stupid rule...
This is ringing a bell for me… Is it possible that you're trying to save a PNG?
Oh, so i should try to save it as a jpeg? Gonna try that later…
Doesn't seem to work. I tried jpegData, pngData and UIImage...
Is this the only activity item?
Yeah, it's the only one

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.