init(_:)
Declaration
convenience init(_ elementProvider: @escaping (@escaping ([UIMenuElement]) -> Void) -> Void)Parameters
- elementProvider:
An asynchronous element provider block. Call this block’s completion handler when the responder’s menu items are available.
Discussion
Creates a deferred menu element provider with an asynchronous block.