---
title: "insertElements(_:afterAction:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uimenubuilder/insertelements(_:afteraction:)"
---

# insertElements(_:afterAction:)

Insert elements after an identified action.

## Declaration

```swift
func insertElements(_ insertedElements: [UIMenuElement], afterAction siblingIdentifier: UIAction.Identifier)
```

## Parameters

- `insertedElements`: The elements to insert.
- `siblingIdentifier`: The identifier of the action to insert elements after.
