Asks the delegate whether the user can select multiple items using a two-finger pan gesture in a collection view.
- iOS 13.0+Beta
The collection view calling this method.
The index path of the item that the user touched to start the two-finger pan gesture.
true to allow the user to select multiple items using a two-finger pan gesture; otherwise,
false to disable the behavior. The default value is
If you return
true, the system sets the
allows property to
true. This allows the user to select multiple items using a two-finger pan gesture.
Users can select multiple items using the two-finger pan gesture on collection views that scroll either horizontally or vertically, but not both. Collection views that scroll in both directions won’t recognize the gesture or call this method.