Hi everyone-
I've experiencing a weird problem. I have this UIAlertView with a text field and the keyboard pops up. When I test my app on my iPod, it works fine, with alert above the keyboard. When somebody else downloaded the app, the alert was hidden under the keyboard. I'm using the regular code to display the alert, so what could be causing this? If it helps, here is the code I am using:
Code:
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:[self alertTitle] message:[self alertMessage] delegate:self cancelButtonTitle:@"Okay" otherButtonTitles:@"Play Again", nil];
[[self userName] setFrame:CGRectMake(40, 95, 203, 31)];
[[self userName] setPlaceholder:@"Your Name"];
[[self userName] setHidden:NO];
[[self userName] setUserInteractionEnabled:YES];
[alertView addSubview:[self userName]];
[[self answer] resignFirstResponder];
[[self userName] becomeFirstResponder];
[alertView setTag:3];
[alertView show];
[alertView release];
alertView = nil;
Thanks,
Batman