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];
  2.  
  3. [someError show];
  4. [someError release];

Report this snippet


Comments


You need to login to view comments.