<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDeferredMenuElement",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIDeferredMenuElement"
  },
  "title" : "UIDeferredMenuElement"
}
-->

# UIDeferredMenuElement

A placeholder menu element that the system replaces with the result of the block’s completion handler.

```
@MainActor class UIDeferredMenuElement
```

## Topics

### Creating a deferred menu element

[`+  elementWithProvider:`](/documentation/UIKit/UIDeferredMenuElement/init(_:))

A convenience initializer that creates a placeholder menu element that the system replaces with the result of the provider’s completion handler.

[`+  elementWithUncachedProvider:`](/documentation/UIKit/UIDeferredMenuElement/uncached(_:))

Returns a placeholder menu element that the system replaces with the result of the provider’s completion handler.

[`+  elementUsingFocusWithIdentifier:shouldCacheItems:`](/documentation/UIKit/UIDeferredMenuElement/usingFocus(identifier:shouldCacheItems:))

### Setting an identifier

[`identifier`](/documentation/UIKit/UIDeferredMenuElement/identifier-swift.property)

The identifier of this deferred menu element.

[`Identifier`](/documentation/UIKit/UIDeferredMenuElement/Identifier-swift.struct)

## Relationships

### Conforms To

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`UIMenuElement`](/documentation/UIKit/UIMenuElement)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)