Given an IBOutlet pointer in Objective-C/iPad, how do you hide that element? Want to remove it from the screen by making it invisible, hiding it, removing it?
views:
77answers:
1
+2
A:
object.alpha = 0.0;
object.hidden = YES;
[self.view removeSubview:object];
The alpha one can be used within animation blocks for some useful effects.
Paul Lynch
2010-04-20 16:45:39