I want to save a UIImage in different folder which is displayed in album section of Default Photo application of iPad. I am able to save photo in album "Saved Photos" using UIImageWriteToSavedPhotosAlbum function. but i also want to save it in different album which is already created. Whether it is possible in iPad ? if Yes, then how can I achieve this task ?
Please suggest
Related
In my app, I am allowing the user to select photos from the album, but here I want to hide iCloud images for selection. I found this solution but not working for me, the iCloud image is visible to select. Picker should show local images and camera roll images for selection.
I tried below AssetCollection subtypes:
PHAssetCollectionSubtypeAlbumMyPhotoStream : found iCloud image PHAssetCollectionSubtypeSmartAlbumUserLibrary: found iCloud image
Any idea how to do that? Which PHAssetCollectionSubtype should have to use?
What do you mean exactly with iCloud images?
There is the iCloud Photo-Library. The images are just normal assets in the All Photos album. There is no way to hide them as the iCloud Photo Library does not differantiate between what's on the device and what's in the Cloud. The only thing you can do is prevent network access (cloud download), when you request the full resolution image/data, video data for the asset.
There are "Shared Photostreams and "My Photostream". These are not part of "All Photos" and in separate albums. These you can just exclude by not including the albums in the interface
I want to show users only picture/video taken in my app on camera roll.
So, when user click gallery button, my app only show "my app" album.
Is this possible ?
You can do one thing
When you save your picture captured by your camera, you can save then specific folder like "AppName-Photos" so each photos save in that particuler folder and when you retrive album just take only photos when there is album name "AppName-Photos" and ignore others
To save photos to your own custom album you can refer this link : iOS save photo in an app specific album
To Fetch only custom album photos you can refer this link: iPhone : Photos framework : how to get only those album/images which created by my app only not by others?
I want to get all images included in a photo album named "summer" and put all the photos into array in Swift. I've search about it a lot from the internet and all I see is that all the post are about taking photos from camera roll. I don't see any post about taking photos from custom album. How can I do that?
I am using UIActivityViewController to share and save images in my app. Right now, images get stored in global Camera roll. I want to save it to app's own album.
To do that, I had to exclude UIActivityTypeSaveToCameraRoll from UIActivityViewController and add my own custom SaveImageActivity. Now problem is that the activity comes at the last. How do I change the order to bring my custom UIActivity to the front?
Similar queries show that this is not possible to do. How is Dropbox app able to do it then?
I am working in IOS app which load photos from custom album. Now I need to delete photo from custom album. Is there any ways to delete photos.
Thanks in advance
Varadharaj
Sorry, You cannot delete any photo saved in the User Album. Apple didn't provided APIs to do that.