Upload image using integrated photo viewer

I searched around and I just could not find anything that really matched my (very simple) needs.

I have UIImage(like NSData, then a file, then an image), and I would like to use it and display my own “show”, in which there is a small box and an arrow icon, where you can decide whether you want to save the image or share it by mail , facebook, twitter, etc.

Wherever I look, I found a wonderful structure that clearly overwhelms my needs or confuses information about PHAssetsand PHImageManager.

I do not need to view several photos and not see photos from albums. I just need to see my picture using the built-in Share button (field with outgoing arrow) and my own layout.

Is there such a thing? Without having to download a framework? Or should I use only the 5% MWaterfall that I need?

+4
source share

Source: https://habr.com/ru/post/1570488/


All Articles