views:

28

answers:

1

Hello

I would like to know if a removeFromSuperview does remove also subviews from the subview (in case if i have more image-views in a scrollView as Subview....).

Thanks !

A: 

Each view has at most one superview. The view you call that method on will break exactly this one link. If that view has subviews they will disappear but keep connected to that very view.

Eiko
Thank you.So for memory issues i should run through the subviews of the subview and remove them before i remove the "main subview" ?
Alex