Class

UIPreviewParameters

Additional parameters to use when animating a preview interface.

Declaration

class UIPreviewParameters : NSObject

Topics

Creating Preview Parameters

init()

Creates a default set of preview parameters.

init(textLineRects: [NSValue])

Creates a preview parameters object with information about the text you want to preview.

Configuring the Preview Attributes

var backgroundColor: UIColor!

The background color to display behind the preview.

var visiblePath: UIBezierPath?

The portion of the view to show in the preview.

Relationships

Inherits From

See Also

Contextual Menus

class UIContextMenuInteraction

An interaction object that you use to display relevant actions for your content.

protocol UIContextMenuInteractionDelegate

The methods for providing the set of actions to perform on your content, and for customizing the preview of that content.

class UITargetedPreview

An object describing the view to use during preview-related animations.

class UIPreviewTarget

An object that specifies the container view to use for animations.