UIAnimations are not working (canceled?) when the keyboard is animated.

Originator:alexander.rupsch
Number:rdar://18146025 Date Originated:
Status:Open Resolved:
Product:iOS SDK Product Version:8.0 beta 5
Classification: Reproducible:
 
Summary:
On iOS 8 when trying to animate things along the keyboard animation (using the UIKeyboardWillShowNotification) the animation seems to be canceled (or not working) when using UIView or UILayer properties (e.g. UIView.layer.position)

I have provided sample code which works on iOS 7. 

When using UILayoutContstraints for the animation it also works on iOS 8 (I have included an example in my sample code)

Also see the screen casts to get a better understanding.

Steps to Reproduce:
See the sample code and the demo screen casts

Basically a view is animated with the keyboard triggering the animation when the keyboard notifications arrive. 

Expected Results:
The animation should work like they do in iOS 7 (while keeping the animation curve of  iOS 8 for the keyboard animation)

Actual Results:
The view is not animated correctly. It is moved to a wrong position. Also see demo screencasts.

Version:
iOS 8 beta 5 (Simulator, iPod Touch)

Notes:


Configuration:
Simulator, iPod Touch 

Attachments:
'BrokenKeyboardAnimation.zip', 'demo-iOS7.gif', 'demo-iOS8.gif' and 'demo-iOS8-using-constraints.gif' were successfully uploaded.

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!