PSPDFStatusHUD


@interface PSPDFStatusHUD : NSObject

A progress view/status HUD.

  • All the status HUD items to be shown.

    Declaration

    Objective-C

    + (nullable NSArray<PSPDFStatusHUDItem *> *)itemsForHUDOnWindow:
        (nullable UIWindow *)window;

    Swift

    class func itemsForHUD(on window: UIWindow?) -> [PSPDFStatusHUDItem]?
  • Hide all visible status HUD items, if any. Doesn’t do anything if the window is nil.

    Declaration

    Objective-C

    + (void)popAllItemsAnimated:(BOOL)animated
                 forHUDOnWindow:(nullable UIWindow *)window
                     completion:(nullable void (^)(void))completion;

    Swift

    class func popAllItems(animated: Bool, forHUDOn window: UIWindow?, completion: (() -> Void)? = nil)