Created
February 1, 2011 11:33
-
-
Save sumardi/805738 to your computer and use it in GitHub Desktop.
iPhoneDev - Creating and showing an alert.
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
UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Really reset?" message:@"Do you really want to reset this game?" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:nil] autorelease]; | |
[alert addButtonWithTitle:@"Yes"]; | |
[alert show]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment