Returns an array of visible cells currently displayed by the collection view.
- iOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
An array of
UICollectionViewCell objects. If no cells are visible, this method returns an empty array.
This method returns the complete list of visible cells displayed by the collection view.
Getting the State of the Collection View
Returns the number of sections displayed by the collection view.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software