Delete photo from custom photo album ios - ios

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.

Related

How can I show only one album which is created on my app in Swift?

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?

How to delete photos from iphone without removing from icloud

To delete photo from iphone, I am using below function:
PHAssetChangeRequest.deleteAssets(asset)
But when I call it to delete photo, a dialog (this photo will be deleted from icloud photo library on all your devices) will be displayed.
However, I don't need this dialog. I only want to delete photos from iphone and not display above dialog.
How can I do it?
Please see below my capture screen.

How to access images from custom album

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?

How we create a custom photo album in UIActivityViewController ios

I have groups of photos and I want to create a custom album and post that album to facebook.
To create a custom photo album in iOS you need to deal with the AVAssets library.
There is a really nice and handy component on GitHub to save pictures and videos to a predefined album of your choice.

iPad: Save Photo in Specific Album

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

Resources