Currently I’m using the following line to add a method’s view as a subview to another view inside a method.
[self.landscape addSubview:[self makeSpin]];
This works well, and all is dandy, but now I need to know how to hide it.
Obviously [self.landscape setHidden:[self makeSpin]]; doesn’t do the trick.
Could anyone provide me with a quick sample on how to do this? Or even a point in the right direction would help.
thanks in advance.
I’m assuming that the view that makeSpin returns is an instance variable (if not you somehow have to make it an instance variable or use tags). If it is, try this: