Skip to content

Instantly share code, notes, and snippets.

@daicham
Created March 3, 2012 07:33
Show Gist options
  • Save daicham/1964899 to your computer and use it in GitHub Desktop.
Save daicham/1964899 to your computer and use it in GitHub Desktop.
Show simple alert dialog on iOS
//refs http://d.hatena.ne.jp/thata/20100213/1265987041
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"hoge"
message:textfield.text
delegate: nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
[alert release];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment