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(this.ref.pointer, _sel_contextMenuInteraction);
  return _ret.address == 0 ? null : UIContextMenuInteraction.castFromPointer(_ret, retain: true, release: true);
}