objective c - UIAlertView is not showing. What am I doing wrong? -
here code:
-(ibaction)signupbtnpressed:(id)sender { uialertview *alert = [ [uialertview alloc] initwithtitle:@"k" message:@"thanks signing up!" delegate:nil cancelbuttontitle:@"continue..." otherbuttontitles:nil ]; [alert show]; [alert release]; }
i have sign button attached action in view.
i check connections made in ib, if you're using ib create ui. specifically, check whether uibutton
in interface xib supposed call signupbtnpressed:(id)sender
has touch inside event linked method, , 'file's owner' of xib set view controller method in.
Comments
Post a Comment