I have a problem with my UIAlertView text field using iOS6. The text field shifts all the way to the top. When i use iOS7, the text field is in the right spot. Can someone help me? Here is the code:
UIAlertView *message = [[UIAlertView alloc] initWithTitle:@"Item?"
message:nil
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"Add another", @"Done",nil];
[message setAlertViewStyle:UIAlertViewStylePlainTextInput];
[message textFieldAtIndex:0].autocapitalizationType = UITextAutocapitalizationTypeWords;
[message show];
The text field appears on the title text (here: Item?)