IPhone SDK Create and Show an Alert


/ Published in: Objective C



Copy this code and paste it in your HTML
  1. UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Alert" message:@"You've Been Alerted" delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles:nil];
  2. [alert show];
  3. [alert release];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.