Showing posts with label Alert. Show all posts
Showing posts with label Alert. Show all posts

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