Thursday, July 23, 2009

Alert Message

Code to showing Alert message with OK button using iPhone SDK / Cocoa programing:

UIAlertView *alert = [[UIAlertView Alloc]initWithTitle:nil message:@"An Alert message!" delegate:self cancelButtonTitle:"OK" otherButtonTitle:nil];
[alert show];
[alert release];

--Mitesh Mehta
miteshvmehta@gmail.com

No comments:

Post a Comment