Instance Method

initWithView:parameters:target:

Creates a targeted preview with the specified view, parameters, and target container.

Declaration

- (instancetype)initWithView:(UIView *)view parameters:(__kindof UIPreviewParameters *)parameters target:(__kindof UIPreviewTarget *)target;

Parameters

view

The view to animate.

parameters

The animation parameters.

target

The container for the view.

Return Value

A new targeted preview object.

See Also

Creating a Targeted Preview Object

- initWithView:parameters:

Creates a targeted preview for a view in the current window and including the specified parameters.

- initWithView:

Creates a targeted preview for a view in the current window.