I created UIImageViews and add it to subview. Then I add it to NSMutableArray.
So, I need delete from memory and subview object(UIImageView) in some index
[arr removeObjectAtIndex:index];
and
[arr replaceObjectAtIndex:index withObject:[NSNull null]];
don’t help, because UIImageView doesn’t disappear from View.
How to do this?
sorry for my English 🙂
[[arr objectAtIndex:index] removeFromSuperview];