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?
Turns out this is just Apple trying to get everyone to move to UIAlertControllers.
UIAlertControllermoves automatically. So that would be my suggestion to anyone here.