How to download images from user’s photo album to iPhone?

I would like to accidentally download images from the user's photo album, but I would prefer not to have access to the image picker (i.e., I would like the images to be random background images). Does anyone know if this is possible?

(I could not find any links except: UIImageWriteToSavedPhotosAlbum)

Edit: I'm trying to do this in an iPhone app. I do not use the saved images that I created - I would like to upload all the photos that were saved in the photo album.

For example, if I were making a memory-style game, I would like the faces of the card to randomly select images from a photo album. How can i do this?

Edit 2: All I managed to find is something like this: http://trailsinthesand.com/picking-images-with-the-iphone-sdk-uiimagepickercontroller/

I would prefer not to use UIImagePickerController because I did not want the user to make the decision. I was hoping to access the folder with the images and be able to download them, but I'm not sure if this is what Apple gives us access to ...

+3
source share
4 answers

So, basically it looks like it's impossible to do in an Apple-approved iPhone app.

You can use the UIImagePickerController and then hide the subheadings inside it, but then your application is unlikely to be approved by Apple.

, , , ...

+1

, , (, ssh) ( ) ?

tutorials , iphone- .

+2

, pixelpipe, . iphone. , , .

+1

This is a security feature: the user deliberately chooses which photos the application can access, otherwise a malicious application can collect phones for images and quietly send them to some evil site.

+1
source

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


All Articles