Stupid and simple question, but I have to ask.
I dragged on Storyboard a button. How to get access to it? With drag "Ctrl" not offer. How do I do it programmatically change setVisible(Yes/No)?
Stupid and simple question, but I have to ask.
I dragged on Storyboard a button. How to get access to it? With drag "Ctrl" not offer. How do I do it programmatically change setVisible(Yes/No)?
You need an IBOutlet to your UIButton
in your view controller h file
IBOutlet UIButton *mybutton; @property (nonatomic, retain) UIButton *mybutton; in your m file
@synthesize mybutton; and then you should be able to do:
[mybutton setAlpha:0];