UIContextMenuContentPreviewProvider
Returns the custom view controller to use when previewing your content.
Declaration
typealias UIContextMenuContentPreviewProvider = () -> UIViewController?Return Value
The view controller to display in place of the system’s standard view controller. If you want UIKit to present your content using a default view controller, return nil.
Discussion
Use this handler to load or create your custom view controller, configure it with your content, and return it to UIKit.