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

yzhaocn

macrumors newbie
Original poster
-(IBAction)click: (id)sender
{
...
UIAlertView *alert = [[UIAlertView alloc] initWithTitle😡"Alert" message😡"This is a Alert!" delegate:nil cancelButtonTitle😡"Cancel" otherButtonTitles😡"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.