Instance Property

restoresFocusAfterTransition

A Boolean value that indicates whether an item that previously was focused should again become focused when the item's view controller becomes visible and focusable.

Declaration

@property(nonatomic) BOOL restoresFocusAfterTransition;

Discussion

When the value of this property is YES, the item that was last focused automatically becomes focused when its view controller becomes visible and focusable. For example, if an item in the view controller is focused and a second view controller is presented, the original item becomes focused again when the second view controller is dismissed. The default value of this property is YES.

See Also

Adding a Custom Transition or Presentation

transitioningDelegate

The delegate object that provides transition animator, interactive controller, and custom presentation controller objects.

transitionCoordinator

Returns the active transition coordinator object.

- targetViewControllerForAction:sender:

Returns the view controller that responds to the action.

presentationController

The nearest presentation controller that is managing the current view controller.

popoverPresentationController

The nearest popover presentation controller that is managing the current view controller.