/ Published in: Objective C
Display simple alert box
Expand |
Embed | Plain Text
UIAlertView *someError = [[UIAlertView alloc] initWithTitle: @"Network error" message: @"Error sending your info to the server" delegate: self cancelButtonTitle: @"Ok" otherButtonTitles: nil]; [someError show]; [someError release];
Comments
Subscribe to comments
You need to login to post a comment.

If you use a delegate:self you can insert relative event in your viewController:
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { // todo }