iphone - How to remove UIimageView from Superview -
in application adding uiimage on every button click. user can add image number of times clicked button, have attached tag "count1" button, , count increases on every click. can differentiate every image tag.
now want remove images, on button click.
i tried remove images through following piece of code
for (int i=1; i<=count1; i++)      {         uiimageview *imgremove;         [[imgremove viewwithtag:i] removefromsuperview];      }   but application crashing when press button.
please help...
if want remove view form super view @ question (with answer): link
Comments
Post a Comment