Simple alert box on iPhone

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

Display simple alert box

Copy this code and paste it in your HTML
  1. UIAlertView *someError = [[UIAlertView alloc] initWithTitle: @"Network error" message: @"Error sending your info to the server" delegate: self cancelButtonTitle: @"Ok" otherButtonTitles: nil];
  3. [someError show];
  4. [someError release];

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.