Created
March 3, 2012 07:33
-
-
Save daicham/1964899 to your computer and use it in GitHub Desktop.
Show simple alert dialog on iOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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