init(view:parameters:)
Creates a targeted preview for a view in the current window and including the specified parameters.
Declaration
convenience init(view: UIView, parameters: UIPreviewParameters)Parameters
- view:
The view to animate. This view must be in a window.
- parameters:
The animation parameters.
Return Value
A new targeted preview object.