Instance Method

viewForKey:

Returns the specified view involved in the transition.

Required.

Declaration

- (__kindof UIView *)viewForKey:(UITransitionContextViewKey)key;

Parameters

key

The key identifying the view you want. For a list of possible keys, see “View Transition Keys” constants in UIViewControllerContextTransitioning.

Return Value

The view object for the specified key or nil if the view could not be found.

See Also

Getting the Views and View Controllers

- viewControllerForKey:

Returns the view controllers involved in the transition.

Required.

containerView

Returns the view in which the transition takes place.

Required.