changesSelectionAsPrimaryAction property

bool get changesSelectionAsPrimaryAction

Indicates if the button changes selection as its primary action. This shows the menu as options for selection if a menu is populated and no action when tapped is enabled. If no menu is provided and no action is enabled when tapped, the item is toggled on and off for the primary action.

Implementation

bool get changesSelectionAsPrimaryAction {
  objc.checkOsVersionInternal('UIBarButtonItem.changesSelectionAsPrimaryAction', iOS: (false, (15, 0, 0)));
  return _objc_msgSend_91o635(this.ref.pointer, _sel_changesSelectionAsPrimaryAction);
}
set changesSelectionAsPrimaryAction (bool value)

Indicates if the button changes selection as its primary action. This shows the menu as options for selection if a menu is populated and no action when tapped is enabled. If no menu is provided and no action is enabled when tapped, the item is toggled on and off for the primary action.

Implementation

set changesSelectionAsPrimaryAction(bool value) {
  objc.checkOsVersionInternal('UIBarButtonItem.setChangesSelectionAsPrimaryAction:', iOS: (false, (15, 0, 0)));
  _objc_msgSend_1s56lr9(this.ref.pointer, _sel_setChangesSelectionAsPrimaryAction_, value);
}