Friday, August 27, 2010

UIAlertView Tutorial AKA Popup Message in XCODE.

This is how you create an UIAlertView AKA Popup message in XCODE.

UIAlertView *alert = [[UIAlertView alloc]

initWithTitle:@"Message Title"
message:@"You Message ."
delegate:self
cancelButtonTitle:@"Continue"
otherButtonTitles:nil];
[alert show];
[alert release];

This code has been test in XCODE 3.2.3 and IPHONE SDK 4.00.
If anyone has a better way of doing this please send an e-mail to timbojill@gmail.com. I do not read comments left behind by users.

No comments:

Post a Comment