menuByReplacingChildren method
! @abstract Copies this menu and replaces its children.
@param newChildren The replacement children.
@return A copy of this menu with updated children.
Implementation
UIMenu menuByReplacingChildren(objc.NSArray newChildren) {
objc.checkOsVersionInternal('UIMenu.menuByReplacingChildren:', iOS: (false, (13, 0, 0)));
final _ret = _objc_msgSend_1sotr3r(this.ref.pointer, _sel_menuByReplacingChildren_, newChildren.ref.pointer);
return UIMenu.castFromPointer(_ret, retain: true, release: true);
}