UIPopoverController

public extension UIPopoverController
  • Tries to automatically detect pressed button and present from it on iPads. Presents nothing if detection failed or it’s iPhone.

    Declaration

    Swift

    func present(animated: Bool = true)