PSPDFExternalURLHandler

Undocumented

  • Handles URL, shows alert dialog if this would open an external app. Returns NO if this is an internal URL (http[s]://, file://)

    Declaration

    Objective-C

    - (BOOL)handleExternalURL:(nonnull NSURL *)URL
              completionBlock:(nullable void (^)(BOOL))completionBlock;

    Swift

    func handleExternalURL(_ URL: URL, completionBlock: ((Bool) -> Void)? = nil) -> Bool