UIViewController(PresentationController) Category Reference

Declared in UIViewController+PresentationController.h

Overview

UIViewController presentation controller.

  presentationController

The presentation controller for the view controller.

@property (nonatomic, readonly, nonnull) RBPresentationController *presentationController

Declared In

UIViewController+PresentationController.h

– willPresentViewController:animated:

Called when a view controller is about to be presented.

- (void)willPresentViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

viewController

The view controller that will be presented.

animated

Whether or not the presentation will be animated.

Declared In

UIViewController+PresentationController.h

– didPresentViewController:animated:

Called when a view controller has just been presented.

- (void)didPresentViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

viewController

The view controller that has just been presented.

animated

Whether or not the presentation was animated.

Declared In

UIViewController+PresentationController.h

– willDismissViewController:animated:

Called when a view controller is about to be dismissed.

- (void)willDismissViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

viewController

The view controller that will be dismissed.

animated

Whether or not the dismissal will be animated.

Declared In

UIViewController+PresentationController.h

– didDismissViewController:animated:

Called when a view controller has just been dismissed.

- (void)didDismissViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

viewController

The view controller that has just been dismissed.

animated

Whether or not the dismissal was animated.

Declared In

UIViewController+PresentationController.h