Tells your view that the layout object of the collection view changed.
- iOS 6.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The collection view’s previous layout object.
The current layout object associated with the collection view.
The default implementation of this method does nothing. Subclasses can override this method and use it to finalize any behaviors associated with the change in layouts.