2009-09-08

How to create a message alert in iPhone application

 //Initialize the alert with Title and Message
UIAlertView *alert=[[UIAlertView alloc] initWithTitle:@"Sync successful" message:@"Login Synced  Successfully." delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];

//Show the alert
[alert show];

No comments: