UIAlertView is not showing. What am I doing wrong?

Posted by Josh Brown on Stack Overflow See other posts from Stack Overflow or by Josh Brown
Published on 2010-04-27T14:21:24Z Indexed on 2010/04/27 14:23 UTC
Read the original article Hit count: 282

Here is the code:

-(IBAction)signUpBtnPressed:(id)sender
{

 UIAlertView *alert = [
        [UIAlertView alloc]
        initWithTitle:@"k"
        message:@"Thanks for Signing up!"
        delegate:self
        cancelButtonTitle:@"Continue..."
        otherButtonTitles:nil
        ];
 [alert show];
 [alert release];
}

I also have my Sign Up button attached to this action in my view.

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about objective-c