showsMenuAsPrimaryAction property
bool
get
showsMenuAsPrimaryAction
If the contextMenuInteraction is the primary action of the control, invoked on touch-down. NO by default.
Implementation
bool get showsMenuAsPrimaryAction {
objc.checkOsVersionInternal('UIControl.showsMenuAsPrimaryAction', iOS: (false, (14, 0, 0)));
return _objc_msgSend_91o635(this.ref.pointer, _sel_showsMenuAsPrimaryAction);
}
set
showsMenuAsPrimaryAction
(bool value)
If the contextMenuInteraction is the primary action of the control, invoked on touch-down. NO by default.
Implementation
set showsMenuAsPrimaryAction(bool value) {
objc.checkOsVersionInternal('UIControl.setShowsMenuAsPrimaryAction:', iOS: (false, (14, 0, 0)));
_objc_msgSend_1s56lr9(this.ref.pointer, _sel_setShowsMenuAsPrimaryAction_, value);
}