menuWithChildren static method

UIMenu menuWithChildren(
  1. NSArray children
)

! @abstract Creates a UIMenu with an empty title, nil image, automatically generated identifier, and default options.

@param children The menu's action-based sub-elements and sub-menus.

@return A new UIMenu.

Implementation

static UIMenu menuWithChildren(objc.NSArray children) {
  objc.checkOsVersionInternal('UIMenu.menuWithChildren:', iOS: (false, (14, 0, 0)));
  final _ret = _objc_msgSend_1sotr3r(_class_UIMenu, _sel_menuWithChildren_, children.ref.pointer);
  return UIMenu.castFromPointer(_ret, retain: true, release: true);
}