visibleSupplementaryViews(ofKind:)
Gets an array of the visible supplementary views of the specified kind.
Declaration
func visibleSupplementaryViews(ofKind elementKind: String) -> [UICollectionReusableView]Parameters
- elementKind:
The kind of supplementary view to locate. This value is defined by the layout object. This parameter must not be
nil.
Return Value
An array of the visible supplementary views. If no supplementary views are visible, the returned array is empty.