Contents

allowsFocusDuringEditing

A Boolean value that determines whether the collection view allows its cells to become focused in edit mode.

Declaration

var allowsFocusDuringEditing: Bool { get set }

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.

See Also

Working with focus