iOS Developer Library

Developer

UIKit Framework Reference UIStoryboardPopoverSegue Class Reference

Options
Deployment Target:

On This Page
Language:

UIStoryboardPopoverSegue

Inheritance


Conforms To


Import Statement


Swift

import UIKit

Objective-C

@import UIKit;

Availability


Available in iOS 5.0 and later.

The UIStoryboardPopoverSegue class defines a specific type of segue for presenting content in a popover. For popover segues, the destination view controller contains the content to be displayed in the popover. This class provides an additional popoverController property so that your custom code has access to the popover controller object. For example, you might want to store the popover controller elsewhere in your code so that you can dismiss the popover programmatically.

  • The popover controller used to display the destination view controller. (read-only)

    Declaration

    Swift

    var popoverController: UIPopoverController { get }

    Objective-C

    @property(nonatomic, retain, readonly) UIPopoverController *popoverController

    Import Statement

    Objective-C

    @import UIKit;

    Swift

    import UIKit

    Availability

    Available in iOS 5.0 and later.