state
The current state of the interaction object.
Declaration
var state: UIBandSelectionInteraction.State { get }Discussion
Use the current state to determine what actions to take in your handler. For example, when an interaction object is in the selecting state, you might highlight items in your view that are inside the current selection rectangle.