Asks the layout object if the new bounds require a layout update.
- iOS 6.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The new bounds of the collection view.
YES if the collection view requires a layout update or
NO if the layout does not need to change.
The default implementation of this method returns
NO. Subclasses can override it and return an appropriate value based on whether changes in the bounds of the collection view require changes to the layout of cells and supplementary views.
If the bounds of the collection view change and this method returns
YES, the collection view invalidates the layout by calling the