Contents

initialModifierFlags

The pressed modifier keys at the start of the interaction.

Declaration

var initialModifierFlags: UIKeyModifierFlags { get }

Discussion

When an interaction starts, the UIBandSelectionInteraction object places the current pressed modifier keys in this property. Use the set of modifier keys to adjust the behavior of your handler. For example, you might extend an existing selection when someone presses the Shift key.

See Also

Getting the interaction state