Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yzhaocn

macrumors newbie
Original poster
Nov 20, 2008
1
0
-(IBAction)click: (id)sender
{
...
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:mad:"Alert" message:mad:"This is a Alert!" delegate:nil cancelButtonTitle:mad:"Cancel" otherButtonTitles:mad:"OK", nil];
[alert show];
[alert release]; //<==breakpoint is added here;
...
}

When the Button is clicked, program excutes to the breakpoint but the UIAlertView is not appeared.

thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.