IPhone SDK Create and Show an Alert

/ Published in: Objective C
Save to your folder(s)

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


RSS Icon Subscribe to comments

You need to login to post a comment.