I am using a source code to load/rotate/zoom/move a UIImage from this blog.
I need to remove all the images at once with a single button, I tried this:
[holderView removeFromSuperview];
But it only delete the last one created not all of them.
EDIT
I have another subviews in the app that i don’t want them to be removed “Buttons, UIImageView, UIScrollView ..etc”.
I think you can use NSMutableArray to store list of UIView’s
Embed this code to .h
Im .m file
After view loading
In the end of “imagePickerController:didFinishPickingMediaWithInfo:” add
When you need to remove use