MFMailComposeViewController in landscape mode has incorrect frame for content

Originator:dlamacchia
Number:rdar://15499372 Date Originated:11/18/2013
Status:Duplicate/14587934 Resolved:
Product:iOS Product Version:7.0.3, 7.1
Classification: Reproducible:Always
 
Summary:
When MFMailComposeViewController is used in landscape mode (at least on iPhone), the frame for content has the incorrect width - it appears to be the portrait width.

Steps to Reproduce:
1. Fire up the attached sample code. This is slightly modified sample code downloaded from the Apple Developer Center (I added support for landscape in the project file).
2. Select "Compose Mail"
3. Rotate the device or simulator to landscape
4. In the content, type some random characters on a single line...at some point the characters will no longer show in the view. The cursor still displays, however.

Expected Results:
Text should be visible.

Actual Results:
Text is input in text view, but does not display properly.

Version:
iOS 7.0.3, iOS 7.1 (beta). Does not occur in iOS6.

Notes:
Attached my slightly updated version of Apple's messaging sample code from the developer center.

Configuration:
Run using XCode 5 and 5.1 (beta) on a Macbook Pro (Retina, 2013)

Comments


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!