UIAlertView with textfield rendered wrong on iOS 8

Originator:futuretap
Number:rdar://17593254 Date Originated:08-Jul-2014 08:22 PM
Status:Duplicate/17089011/Closed Resolved:
Product:iOS SDK Product Version:8.0 beta 3
Classification:UI/Usability Reproducible:Always
 
Summary:
In an app built on Xcode 5 that is run on iOS 8 UIAlertView with UIAlertViewStylePlainTextInput is rendered wrong on iOS 8.

See the attached screenshots.

There are actually two issues:
- the textField height is too large
- the action buttons aren't laid out horizontally as they used to in iOS 7

Steps to Reproduce:
Use this code:

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"message" delegate:nil cancelButtonTitle:@"Abbrechen" otherButtonTitles:@"OK", nil];
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
[alert show];


Expected Results:
The text field border should be visible.
The action buttons should be placed horizontally beside each other.

Actual Results:
The top and bottom text field borders are cut off.
The action buttons are placed vertically below each other.

Version:
iOS 8 beta 3

Notes:
"Abbrechen" is the standard German localization for "Cancel". It's important that "Abbrechen" and "OK" are laid out horizontally, not vertically.

Configuration:
iPhone 5s, Simulator

Comments

Screenshots

https://www.dropbox.com/s/jt0tlobcj7oxq7w/r17593254.zip

By futuretap at July 8, 2014, 6:25 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!