UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Blah"
message:nil
delegate:nil
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"Enter", nil];
alert.alertViewStyle = UIAlertViewStyleSecureTextInput;
[alert textFieldAtIndex:0].delegate = self;
alert.delegate = self;
[alert show];
alert.frame = CGRectMake(0,0,200,100);
I've tried adding an AffineTransform as well. But it just doesn't change. Can someone help me out here?