Text jumps momentarily in UITextField following keyboard animation

Originator:foundry.tv
Number:rdar://23041580 Date Originated:09-Oct-2015 01:55 AM
Status:Open Resolved:
Product:iOS Product Version:9
Classification:UI Reproducible:always
 
Summary:
When invoking the keyboard on UITextFields, text input works correctly until you tap on a second UITextField, wherein the text input in the first textfield will exhibit a momentary animated jump out of position and then back in. This seems to only happen on first instantiation of the view hierarchy, repeated use of the same textfield then behaves correctly. This bug is only apparent in ios9 using Autolayout when a keyboard is invoked. It is apparerent _whether or not_ the textfields are moved in response to the keyboard appearing.

There is an accompanying Autolayout warning that only occurs with the same setup (ios9 + autolayout). This may be related. See notes in the attached app.

Attachment: TextFieldTest.zip
Sample app reproducing the issue + sample movies of the expected and rogue results. See also notes in the test app

Steps to Reproduce:
In attached sample app.
1. launch app
2. touch first textField to start entering text
3. enter text
4. touch second textField to start entering text
- bug is manifest if text in first textField jumps out of place briefly

Expected Results:
text should not jump out of place.

Actual Results:
text momentarily animates out of place.

Version:
ios 9.0.2, simulator 9.0. Not evident on simulator 8.4.

Notes:
Attached project + movie files

Configuration:
iphone 5s and also on simulator 9.0. Not evident on simulator 8.4

Attachments:
'TextFieldTest.zip' was successfully uploaded.

Github:
<a href="https://github.com/foundry/UITextFieldBug/">UITextFieldBug</a>

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!