PopMenuManager

final public class PopMenuManager : NSObject

The object responsible for managing a pop menu PopMenuViewController

  • Present the pop menu.

    Declaration

    Swift

    public func present(sourceView: AnyObject? = nil, on viewController: UIViewController? = nil, animated: Bool = true, completion: (() -> Void)? = nil)

    Parameters

    sourceView

    From which view and where exactly on the screen to be shown (default: show in the center)

    above

    Present above which controller (default: use the top view controller)

    animated

    Animate the presentation

    completion

    Completion handler