Hi

I've a UIView with some subviews (most of them are UIButtons).

When I hide an UIView (setHidden:YES), I expect that the subviews are also hidden (not drawed)... but the subviews are still visible when I run my code.

How can I hide the subviews when I hide a UIView? Should I create a subclass and overwrite the setHidden: method (and recall setHidden on every subview) or is there a better way to do this?

Kind regards
Jelle
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to