A set of methods that, in conjunction with a presentation controller, determine how to respond to trait changes in your app.
SDKs
- iOS 8.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
protocol UIAdaptivePresentationControllerDelegate
Overview
After implementing an object that conforms to this protocol, assign that object to the delegate
property of an appropriate UIPresentation
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 UIPresentation
.