Inherits from SLStaticElement : SLUIAElement : NSObject
Declared in SLPopover.h

Overview

SLPopover provides methods for accessing and manipulating the current popover.

Tasks

  • + currentPopover

    Returns an element representing the popover currently shown by the application, if any.

  • – dismiss

    Dismisses the specified popover by tapping outside the popover and within the region defined for dismissal.

Class Methods

currentPopover

Returns an element representing the popover currently shown by the application, if any.

+ (instancetype)currentPopover

Discussion

This element will be (valid)[-isValid] if and only if the application is currently showing a popover.

Declared In

SLPopover.h

Instance Methods

dismiss

Dismisses the specified popover by tapping outside the popover and within the region defined for dismissal.

- (void)dismiss

Discussion

This method will block until the popover has been fully dismissed.

Declared In

SLPopover.h