views:

77

answers:

1

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?

+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