preferredAction property
UIAlertAction?
get
preferredAction
preferredAction
Implementation
UIAlertAction? get preferredAction {
objc.checkOsVersionInternal('UIAlertController.preferredAction', iOS: (false, (9, 0, 0)));
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_preferredAction);
return _ret.address == 0 ? null : UIAlertAction.castFromPointer(_ret, retain: true, release: true);
}
set
preferredAction
(UIAlertAction? value)
setPreferredAction:
Implementation
set preferredAction(UIAlertAction? value) {
objc.checkOsVersionInternal('UIAlertController.setPreferredAction:', iOS: (false, (9, 0, 0)));
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setPreferredAction_, value?.ref.pointer ?? ffi.nullptr);
}