Created
October 1, 2013 02:37
-
-
Save stevehenderson/6773166 to your computer and use it in GitHub Desktop.
IOS Alert
This file contains hidden or 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
- (IBAction)showalert:(id)sender { | |
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"What Up" | |
message:@"Hello There" | |
delegate:nil | |
cancelButtonTitle:@"OK" | |
otherButtonTitles: nil]; | |
[alert setAlertViewStyle:UIAlertViewStylePlainTextInput]; | |
[alert show]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment