A set of methods that, in conjunction with a presentation controller, determine how to respond to trait changes in your app.


protocol UIAdaptivePresentationControllerDelegate


After implementing an object that conforms to this protocol, assign that object to the delegate property of an appropriate UIPresentationController object. Your delegate can suggest a new presentation style or an entirely new view controller for displaying content. For more information about using the delegate to respond to size class changes, see UIPresentationController.


Inherits From

See Also


Responding to Changing Display Modes on Apple TV

Change images and resources dynamically when the screen gamut on your device changes.

class UITraitCollection

The iOS interface environment for your app, defined by traits such as horizontal and vertical size class, display scale, and user interface idiom.

protocol UITraitEnvironment

A set of methods that makes the iOS interface environment available to your app.

protocol UIContentContainer

A set of methods for adapting the contents of your view controllers to size and trait changes.