UICollectionView does not animate resizing UICollectionReusableView child views
| Originator: | fatchicksinpartyhats | ||
| Number: | rdar://26898700 | Date Originated: | 2016-06-20 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | |
| Classification: | Reproducible: | Always |
Summary: When a UICollectionReusableView contains a UIViewController’s view as its only child the children of the UICollectionView’s view do not animate their resize while their parent view does. To clarify, I created a demo app to showcase a working and failure case. The demo app can be found at: https://github.com/adamyanalunas/SupplimentaryViewAnimation Steps to Reproduce: 1. Add any type object that is or subclasses a UIView to the stock UIView (that I’ll now call parent view) of a UIViewController 2. Add the parent view to a UICollectionReusableView (that I’ll now call the supplementary view) 3. Resize the supplementary view inside of a performBatchUpdates to inherit the animations Expected Results: Children of the parent view have animation times that match their parent. Actual Results: Parent view bounds animate as expected but its children do not; rather, they immediately jump to their destination size. Regression: Unknown how far back this bug reaches. Notes: Demo app to view the working and broken cases can be found here: https://github.com/adamyanalunas/SupplimentaryViewAnimation
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!