UITextView right margin changes when resized

Originator:borked
Number:rdar://13472443 Date Originated:21-Mar-2013
Status:Closed Resolved:Fixed in iOS 7
Product:iOS Product Version:5.x - 6.x
Classification:Serious Bug Reproducible:Always
 
Summary: When a UITextView is resized the right margin of the text increases in size

Expected Results:
When a UITextView is resized the right margin stays the same

Actual Results:
When a UITextView is resized the right margin of the text increases in size

See this file for simple interactive demo project used to confirm the bug and find a possible workaround

http://peghole.com/bugs/ResizeTextView.zip

Notes:

Bug confirmed in

iOS 6.1 on iPhone 5
iOS 5.0 on iPhone 4

Not confirmed in iOS 4.3 in Simulator (I don't have a 4.3 device anymore since my iPad 1 died ;-)

Bug is intermittently present in simulator when device is iPhone 4 or iPad, and the change in margin is bigger on iPhone 5 / simulated iPhone 5;

I'd love to find a workaround but haven't found one so far.

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!