Posted By

yasirmturk on 09/09/11


Tagged

alert iphone iPad


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

yasirmturk
cnathan


Method to create & show alert iOS SDK


 / Published in: Objective C
 

URL: http://yasirmturk.com/blog

  1. - (void) showAlert:(NSString*)title withMessage:(NSString *) message {
  2. UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:title
  3. message:message
  4. delegate:self
  5. cancelButtonTitle:@"OK"
  6. otherButtonTitles:nil];
  7. [alertView show];
  8. [alertView release];
  9. }

Report this snippet  

You need to login to post a comment.