I need to remove image subviews from a ScrollView and I tried removing from the array of subviews but that is an NSArray which is immutable.
How can a subview be removed from the scrollviews array of subviews?
NSArray *viewsToRemove = [scrollView subviews];
for (UIView *v in viewsToRemove) [v removeFromSuperview];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With