allowsFocus
A Boolean value that determines whether the collection view allows its cells to become focused.
Declaration
var allowsFocus: Bool { get set }Mentioned in
Discussion
If you implement collectionView(_:canFocusItemAt:), its return value takes precedence over the value of this property.
The system determines the default value of this property according to the platform and other properties of the collection view.