Type Alias UIContextMenuContentPreviewProvider

Source
pub type UIContextMenuContentPreviewProvider = *mut DynBlock<dyn Fn() -> *mut UIViewController>;
Available on crate features UIContextMenuConfiguration and UIResponder and UIViewController and block2 only.
Expand description

Return a UIViewController to be displayed as this menu’s preview component.

See also Apple’s documentation