message:@"AlertViewStyles"
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK", nil];
[alertView show];
[alertView release];
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"plainTextStyle"
message:@"write plain text"
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK", nil];
alertView.alertViewStyle = UIAlertViewStylePlainTextInput;
[alertView show];
[alertView release];
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"secureTextStyle"
message:@"write secure text"
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK", nil];
alertView.alertViewStyle = UIAlertViewStyleSecureTextInput;
[alertView show];
[alertView release];
No comments:
Post a Comment