Link Search Menu Expand Document

ContextMenuInteractionAnimating

Methods adopted by system-supplied animator objects when interacting with context menus.

public protocol ContextMenuInteractionAnimating 

Requirements

addAnimations(_:​)

Adding Custom Animations Adds the specified animation block to the animator.

func addAnimations(_ animations: @escaping () -> Void)

addCompletion(_:​)

Adds the specified completion block to the animator.

func addCompletion(_ completion: @escaping () -> Void)

previewViewController

Previewing the Content The current preview controller.

var previewViewController: ViewController?