contextMenuInteraction property
UIContextMenuInteraction?
get
contextMenuInteraction
Returns a UIContextMenuInteraction with this control set as its delegate. Before constructing the UIContextMenuInteraction, UIControl verifies 'self' is a viable delegate. See 'Implementing UIControl Menus' below for more details.
Implementation
UIContextMenuInteraction? get contextMenuInteraction {
objc.checkOsVersionInternal('UIControl.contextMenuInteraction', iOS: (false, (14, 0, 0)));
final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_contextMenuInteraction);
return $ret.address == 0 ? null : UIContextMenuInteraction.fromPointer($ret, retain: true, release: true);
}