---
title: children
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimenu/children
---

# children

The contents of the menu.

## Declaration

```swift
var children: [UIMenuElement] { get }
```

## Discussion

Discussion If the menu doesn’t have any child menu elements, this property contains an empty array.

## See Also

### Accessing child elements

- [replacingChildren(_:)](uikit/uimenu/replacingchildren(_:).md)
