Question

Hi I was wondering if theres a way to extract ALAsset of an image taken from Camera but without saving it... Ive come across various example that used writeImageToSavedPhotosAlbum and then fetched the ALAssest, but i dont deem it necessary to save the image in the camera roll, was just wondering if this could be done otherwise

Was it helpful?

Solution

No ALAssest exists until the image has been successfully saved to the image library. Until then you just have a UIImage that has come from the picker. There is no mandate that the image needs to be saved into the library and any decision about whether you want to save the image should be based on what the app tells the user and if the user would naturally expect to find the image in the library after taking / saving it in the app.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top