Applies the specified layout attributes to the view.
- iOS 6.0+
- tvOS 9.0+
The layout attributes to apply.
The default implementation of this method does nothing.
If the layout object supports custom layout attributes, you can use this method to apply those attributes to the view. In such a case, the
layout parameter should contain an instance of a subclass of
UICollection. You do not need to override this method to support the standard layout attributes of the
UICollection class. The collection view applies those attributes automatically.