objective c - uibutton hide and dropdown text -


i have signup button switches screens signup form. i'd hide button , drop down text boxes beneath when button tapped (instead of switching screens). possible? have in .h file...

@property (nonatomic, strong) iboutlet uibutton *emailsignup; - (ibaction)hidebutton:(id)sender; 

and in .m file method follows

- (ibaction)hidebutton:(id)sender { [self.emailsignup sethidden:yes]; 

}

however seems crashing whenever try test. advice? thank guys in advance. know there long way go, feel first step.

it sounds haven't connected button created in interface builder portion of xcode emailsignup iboutlet. can going interface builder, selecting file's owner , connection navigator (in right side panel, designated arrow icon in tab bar). then, drag outlet button.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -