iPad Modal PresentationFormSheet TransitionCrossDissolve jumps left in landscape

Originator:j.comms725
Number:rdar://12460174 Date Originated:9-Oct-2012 12:45 PM
Status:Open Resolved:
Product:iPad SDK Product Version:6.0
Classification:UI/Usability Reproducible:Always
 
09-Oct-2012 12:45 PM David Jarrett:
Summary:

When running an iPad application in landscape orientation with a UITextField as the first responder, and a keyboard is present; when a UIButton is pressed in order to present a UIViewController with a presentation style of UIModalPresentationFormSheet and a transition style of UIModalTransitionStyleCrossDissolve, the presented view controller appears off screen. If this view controller additionally contains further UITextFields, then by tapping on these, they are made first responder and the presented View Controller can be brought back on screen.

Steps to Reproduce:

1. Setup an application with a UITextField and a UIButton, with the UIButton set to present a modal view controller in the above specification.
2. Load the application up on an iPad and ensure the orientation is landscape.
3. Tap on the UITextField in order to make it first responder and bring up the keyboard.
4. Tap on the UIButton. The presented View Controller will appear off screen, to the top-left of the presenting view controller.

Expected Results:

The View Controller should appear in the center of the screen.

Actual Results:

The View Controller appears off screen to the top-left of the presenting view controller, with the bottom-right portion of the presented view controller appearing in the top-left portion of the presenting view controller (see image attached).

Regression:

Seems to be present since Product Version 3.2 (http://www.openradar.me/8425603)

Notes:

Sample app and screenshot included. This can be worked around by sending resignFirstResponder to the firstResponder before dismissing the modal view.

Sample App / Screenshot: https://dl.dropbox.com/u/16311777/UIModalBug.zip

Comments

Attached OpenRader was for dismissal of view controller instead of presentation...

By j.comms725 at Oct. 9, 2012, 11:54 a.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!