Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.