Skip to content

Instantly share code, notes, and snippets.

@nishabe
Last active August 12, 2018 18:20
Show Gist options
  • Save nishabe/b98ab8d01c37b509a0a6 to your computer and use it in GitHub Desktop.
Save nishabe/b98ab8d01c37b509a0a6 to your computer and use it in GitHub Desktop.
OBJC:UIAlertView example
UIAlertView *alertView = [[UIAlertView alloc]
initWithTitle:@"DefaultStyle"
message:@"the default alert view style"
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK", nil];
[alertView show];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment