Last active
August 29, 2015 14:11
-
-
Save marchampson/a23b71069425ac8a4ec0 to your computer and use it in GitHub Desktop.
IOS popup 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:@"No network connection" | |
message:@"You must be connected to the internet to use this app." | |
delegate:nil | |
cancelButtonTitle:@"OK" | |
otherButtonTitles:nil]; | |
[alert show]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment