Other Constants

The following constants are available globally.

  • Prefix used for all analytics events. “pspdf”. A underscore (_) is added after this prefix to all analytics events as well.

    Declaration

    Objective-C

    extern NSString *const PSPDFAnalyticsEventPrefix

    Swift

    let PSPDFAnalyticsEventPrefix: String
  • Show annotation creator dialog event. This signifies that the annotation creator dialog was shown to the user. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName
        PSPDFAnalyticsEventNameAnnotationCreatorDialogShow

    Swift

    static let annotationCreatorDialogShow: PDFAnalytics.EventName
  • Cancel annotation creator dialog event. Signifies that the annotation creator dialog was cancelled by the user. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName
        PSPDFAnalyticsEventNameAnnotationCreatorDialogCancel

    Swift

    static let annotationCreatorDialogCancel: PDFAnalytics.EventName
  • Set annotation creator event. Signifies that the annotation creator dialog was confirmed by the user, setting a creator name. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameAnnotationCreatorSet

    Swift

    static let annotationCreatorSet: PDFAnalytics.EventName
  • Show annotation inspector event. This signifies that the user has opened the annotation inspector for editing annotation properties, either via the annotation toolbar or by editing an existing annotation. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName
        PSPDFAnalyticsEventNameAnnotationInspectorShow

    Swift

    static let annotationInspectorShow: PDFAnalytics.EventName
  • Select text event. This signifies that the user has selected text on the document. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameTextSelect

    Swift

    static let textSelect: PDFAnalytics.EventName
  • Add bookmark event. This signifies that the user added a bookmark to the document. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameBookmarkAdd

    Swift

    static let bookmarkAdd: PDFAnalytics.EventName
  • Edit bookmarks event. This signifies that the user has entered bookmark editing mode inside the bookmark list. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameBookmarkEdit

    Swift

    static let bookmarkEdit: PDFAnalytics.EventName
  • Delete bookmark event. This signifies that the user has deleted a bookmark from the document. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameBookmarkRemove

    Swift

    static let bookmarkRemove: PDFAnalytics.EventName
  • Sort bookmark event. This signifies that the user changed moved the order of a bookmark item in the bookmark list. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameBookmarkSort

    Swift

    static let bookmarkSort: PDFAnalytics.EventName
  • Rename bookmark event. This signifies that the user renamed a bookmark. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameBookmarkRename

    Swift

    static let bookmarkRename: PDFAnalytics.EventName
  • Select bookmark event. This signigies that the user tapped a bookmark in the bookmark list. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameBookmarkSelect

    Swift

    static let bookmarkSelect: PDFAnalytics.EventName
  • Start search event. This signifies that the user started a search in the document by pressing the search icon (or any other way). No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameSearchStart

    Swift

    static let searchStart: PDFAnalytics.EventName
  • Search result select event. This signifies that the user selected a search result after searching the document. No attributes.

    Declaration

    Objective-C

    extern const PSPDFAnalyticsEventName PSPDFAnalyticsEventNameSearchResultSelect

    Swift

    static let searchResultSelect: PDFAnalytics.EventName
  • Boolean. Indicates if the content should automatically start playing.

    Declaration

    Objective-C

    extern const PSPDFGalleryOption _Nonnull PSPDFGalleryOptionAutoplay

    Swift

    static let autoplay: GalleryItem.Option
  • Boolean. Indicates if controls should be displayed.

    Declaration

    Objective-C

    extern const PSPDFGalleryOption _Nonnull PSPDFGalleryOptionControls

    Swift

    static let controls: GalleryItem.Option
  • Boolean. Indicates if the content should loop forever.

    Declaration

    Objective-C

    extern const PSPDFGalleryOption _Nonnull PSPDFGalleryOptionLoop

    Swift

    static let loop: GalleryItem.Option
  • Boolean. Indicates that the content can be presented fullscreen.

    Declaration

    Objective-C

    extern const PSPDFGalleryOption _Nonnull PSPDFGalleryOptionFullscreen

    Swift

    static let fullscreen: GalleryItem.Option
  • Key for NSNotification.userInfo dictionary.

    Where supported, the value under this key will be an instance of NSError.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorKey

    Swift

    let PSPDFInstantErrorKey: String
  • Key for NSNotification.userInfo dictionary.

    Where supported, the value under this key will be an instance of NSString.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantJWTKey

    Swift

    let PSPDFInstantJWTKey: String
  • Notification posted when downloading a PDF file from the server finishes.

    The object of this notification will be the PSPDFInstantDocumentDescriptor whose download completed.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFinishDownloadNotification

    Swift

    static let PSPDFInstantDidFinishDownload: NSNotification.Name
  • Notification posted when downloading the PDF file from the server fails.

    The object of this notification will be the PSPDFInstantDocumentDescriptor whose download failed. The error that occurred (NSError) is available under PSPDFInstantErrorKey in the userInfo.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFailDownloadNotification

    Swift

    static let PSPDFInstantDidFailDownload: NSNotification.Name
  • Notification that is posted when a sync cycle begins.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that started syncing. A sync cycle ends with posting either a PSPDFInstantDidFailSyncingNotification in case an error occurs, or with a PSPDFInstantDidFinishSyncingNotification when all local changes have been synced successfully.
    While the sync cycle is running, any number of PSPDFInstantSyncCycleDidChangeStateNotifications can be posted.

    For more details on the sync cycle, refer to the documentation of PSPDFInstantDocumentState.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidBeginSyncingNotification

    Swift

    static let PSPDFInstantDidBeginSyncing: NSNotification.Name
  • Notification that is posted when a sync cycle changes its state.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that changed its sync state. Any number of these notifications can be posted while the sync cycle is running.

    For more details on the sync cycle, refer to the documentation of PSPDFInstantDocumentState.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantSyncCycleDidChangeStateNotification

    Swift

    static let PSPDFInstantSyncCycleDidChangeState: NSNotification.Name
  • Notification that is posted when a sync cycle completes with an error.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that failed synchronization. The error that occurred (NSError) is available under PSPDFInstantErrorKey in the userInfo.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFailSyncingNotification

    Swift

    static let PSPDFInstantDidFailSyncing: NSNotification.Name
  • Notification that is posted when a sync cycle completes successfully.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that has been synced.

    For more details on the sync cycle, refer to the documentation of PSPDFInstantDocumentState.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFinishSyncingNotification

    Swift

    static let PSPDFInstantDidFinishSyncing: NSNotification.Name
  • Notification posted when Instant fails to authenticate with the PSPDFKit Server to synchronize annotations.

    This notification typically means that the user no longer has access to the document or that the JWT expired. You should ask your backend server for a new JWT for this document identifier and, if the user should still be allowed to access that document, pass the new JWT into -[PSPDFInstantDocumentDescriptor reauthenticateWithJWT:]. If your backend server decided that the user no longer has access, stop showing this document to the user and call -[PSPDFInstantDocumentDescriptor removeLocalStorageWithError:] instead.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that could not be authenticated.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFailAuthenticationNotification

    Swift

    static let PSPDFInstantDidFailAuthentication: NSNotification.Name
  • Notification posted when the authentication token for a document has been successfully updated.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that has been reauthenticated. The accepted JWT is available as an NSString under PSPDFInstantJWTKey in the notification’s userInfo.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFinishReauthenticationNotification

    Swift

    static let PSPDFInstantDidFinishReauthentication: NSNotification.Name
  • Notification posted when the authentication token for a document could not be updated.

    The object of this notification will be the PSPDFInstantDocumentDescriptor that could not be reauthenticated. The error that occurred is available under PSPDFInstantErrorKey in the notification’s userInfo.

    Note

    Important: This notification will be posted on a background thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFInstantDidFailReauthenticationNotification

    Swift

    static let PSPDFInstantDidFailReauthentication: NSNotification.Name
  • Domain for errors encountered by PSPDFKit Instant.

    Declaration

    Objective-C

    extern const NSErrorDomain _Nonnull PSPDFInstantErrorDomain

    Swift

    let PSPDFInstantErrorDomain: String
  • Key for NSError userInfo for the PSPDFInstantDocumentDescriptorDescriptor an error relates to, if applicable.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorDocumentDescriptorKey

    Swift

    let PSPDFInstantErrorDocumentDescriptorKey: String
  • Key for NSError userInfo for the PSPDFDocument an error relates to, if applicable.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorDocumentKey

    Swift

    let PSPDFInstantErrorDocumentKey: String
  • Key for NSError userInfo for the annotation identifier an error relates to, if applicable.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorAnnotationIdentifierKey

    Swift

    let PSPDFInstantErrorAnnotationIdentifierKey: String
  • User info key for the (extended) SQLite error code as an NSNumber in the case of PSPDFInstantErrorDatabaseAccessFailed.

    A detailed discussions of these codes can be found at https://www.sqlite.org/rescode.html

    Note

    Important: This value can very well be nil! (Not all database access errors need to be SQLite errors.)

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorSQLiteExtendedErrorCodeKey

    Swift

    let PSPDFInstantErrorSQLiteExtendedErrorCodeKey: String
  • User info key for the detailed errors in the case of PSPDFInstantErrorCouldNotPurgeDiskCacheEntries.

    The value under this key is an NSDictionary<NSString *, NSError *> *, where each key represents a document ID that could not be purged, and the corresponding value captures the reason why this failed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorPurgeErrorsByDocumentIDKey

    Swift

    let PSPDFInstantErrorPurgeErrorsByDocumentIDKey: String
  • User info key for the identifier of the attachment in the case of PSPDFInstantErrorAttachmentNotLoaded or PSPDFInstantErrorNoSuchAttachment.

    The value under this key is the identifier for the attachment that could not be accessed/fetched as an NSString.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorAttachmentIDKey

    Swift

    let PSPDFInstantErrorAttachmentIDKey: String
  • The annotation that caused an error.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFInstantErrorAnnotationKey

    Swift

    let PSPDFInstantErrorAnnotationKey: String
  • X-Callback URL, see http://x-callback-url.com

    Note

    This is used for the Chrome activity in PSPDFWebViewController. Example: PSPDFKitGlobal.sharedInstance[PSPDFSettingKeyXCallbackURLString] = @"pspdfcatalog://";

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyXCallbackURLString

    Swift

    static let xCallbackURLString: SDK.Setting
  • Custom PSPDFApplicationPolicy instance that can be configured with setLicenseKey:options:.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyApplicationPolicy

    Swift

    static let applicationPolicy: SDK.Setting
  • Custom PSPDFFileManager instance that can be configured with setLicenseKey:options:.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyFileManager

    Swift

    static let fileManager: SDK.Setting
  • Custom coordinated PSPDFFileManager instance that can be configured with setLicenseKey:options:.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyCoordinatedFileManager

    Swift

    static let coordinatedFileManager: SDK.Setting
  • Specifies whether coordinated file operations are used by default in PSPDFDocument. Creates PSPDFCoordinatedFileDataProviders when initializing documents with local URLs. Expects a boolean NSNumber. Defaults to @YES. Set to @NO to disable.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyFileCoordinationEnabled

    Swift

    static let fileCoordinationEnabled: SDK.Setting
  • Specifies the indexing priority that the shared PSPDFLibrary instance must use. Must be a valid PSPDFLibraryIndexingPriority value wrapped in a NSNumber. SeePSPDFLibraryIndexingPriority` for details.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyLibraryIndexingPriority

    Swift

    static let libraryIndexingPriority: SDK.Setting
  • Enables various debug UI options. (e.g. more settings)

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyDebugMode

    Swift

    static let debugMode: SDK.Setting
  • Allows you to specify additional font directories. Expects an array of strings.

    Some PDFs don’t contain embedded fonts and sometimes the system fonts don’t provide a good enough replacement. In that case, you can ship your own fonts and point PSPDFKit to your additional font directories.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyAdditionalFontDirectories

    Swift

    static let additionalFontDirectories: SDK.Setting
  • Specifies whether PSPDFDocument permissions are honored in the PSPDFKit UI.

    PSPDFKit will honor certain PDF permissions and prevent corresponding UI actions, such as editing annotations, if the document disallows them. This option can be used to globally disable this behavior and instead allow all configured UI actions regardless of document permissions.

    Note

    This option will affect the output of PSPDFDocument.features while PSPDFDocument.permissions will still reflect the actual values configured in the PDF document. For documents that were instantiated before changing this option, [document.features updateFeatures] needs to be invoked to ensure the changes are correctly reflected in the features system.

    Expects a boolean NSNumber. Defaults to @YES. Set to @NO to disable.

    Declaration

    Objective-C

    extern const PSPDFSettingKey _Nonnull PSPDFSettingKeyHonorDocumentPermissions

    Swift

    static let honorDocumentPermissions: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Compatibility constant. Please migrate to PSPDFFeatureMaskRequireSignedSource

    Objective-C source compatibility with 9.2.x and older.

    Declaration

    Objective-C

    extern const PSPDFFeatureMask PSPDFFeatureRequireSignedSource

    Swift

    let PSPDFFeatureRequireSignedSource: Features
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyXCallbackURLString instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFXCallbackURLStringKey

    Swift

    static let PSPDFXCallbackURLStringKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyApplicationPolicy instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFApplicationPolicyKey

    Swift

    static let applicationPolicyKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyFileManager instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFFileManagerKey

    Swift

    static let fileManagerKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyCoordinatedFileManager instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFCoordinatedFileManagerKey

    Swift

    static let coordinatedFileManagerKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyFileCoordinationEnabled instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFFileCoordinationEnabledKey

    Swift

    static let fileCoordinationEnabledKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyLibraryIndexingPriority instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFLibraryIndexingPriorityKey

    Swift

    static let libraryIndexingPriorityKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyDebugMode instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFKitDebugModeKey

    Swift

    static let kitDebugModeKey: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyAdditionalFontDirectories instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFAdditionalFontDirectories

    Swift

    static let additionalFontDirectories: SDK.Setting
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFSettingKeyHonorDocumentPermissions instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSettingKey const PSPDFHonorDocumentPermissionsKey

    Swift

    static let honorDocumentPermissionsKey: SDK.Setting
  • The library version.

    Declaration

    Objective-C

    extern const NSUInteger PSPDFLibraryVersion

    Swift

    let PSPDFLibraryVersion: UInt
  • PSPDFLibrary uses NSNotifications to post status updates.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFLibraryWillStartIndexingDocumentNotification

    Swift

    static let PSPDFLibraryWillStartIndexingDocument: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSNotificationName const PSPDFLibraryDidFinishIndexingDocumentNotification

    Swift

    static let PSPDFLibraryDidFinishIndexingDocument: NSNotification.Name
  • Sent when a document is removed from the library.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFLibraryDidRemoveDocumentNotification

    Swift

    static let PSPDFLibraryDidRemoveDocument: NSNotification.Name
  • Sent when all indexes are cleared as a result of -[PSPDFLibrary clearAllIndexes].

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFLibraryDidClearIndexesNotification

    Swift

    static let PSPDFLibraryDidClearIndexes: NSNotification.Name
  • The key in the NSNotification userInfo for the UID of the document.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryNotificationUIDKey

    Swift

    let PSPDFLibraryNotificationUIDKey: String
  • The key in the NSNotification userInfo if the indexing operation was successful.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryNotificationSuccessKey

    Swift

    let PSPDFLibraryNotificationSuccessKey: String
  • The name of the exception thrown when an invalid operation occurs.

    Declaration

    Objective-C

    extern const NSExceptionName _Nonnull PSPDFLibraryInvalidOperationException

    Swift

    static let PSPDFLibraryInvalidOperationException: NSExceptionName
  • The name of PSPDFKit’s custom porter tokenizer.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryPorterTokenizerName

    Swift

    let PSPDFLibraryPorterTokenizerName: String
  • The name of PSPDFKit’s custom Unicode tokenizer. This tokenizer wraps around SQLite’s unicode61 tokenizer to add full case folding to the indexed text.

    Warning

    This tokenizer is only available when the library supports FTS5. Specifying this as the value for the PSPDFLibrary.tokenizer property will result in an error when trying to create the library.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(PDFLibrary.UnicodeTokenizerName) NSString *const
        PSPDFLibraryUnicodeTokenizerName

    Swift

    class let UnicodeTokenizerName: String
  • Option keys. Limit the number of document results.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryMaximumSearchResultsTotalKey

    Swift

    let PSPDFLibraryMaximumSearchResultsTotalKey: String
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFLibraryMaximumSearchResultsPerDocumentKey

    Swift

    let PSPDFLibraryMaximumSearchResultsPerDocumentKey: String
  • Limit the number of preview results.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryMaximumPreviewResultsTotalKey

    Swift

    let PSPDFLibraryMaximumPreviewResultsTotalKey: String
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFLibraryMaximumPreviewResultsPerDocumentKey

    Swift

    let PSPDFLibraryMaximumPreviewResultsPerDocumentKey: String
  • Set this to @YES to restrict search to exact word matches instead of beginsWith/endsWith checks.

    Warning

    If the default tokenizer is used, this will impact performance. If you find it is too slow, consider using a different tokenizer. See https://pspdfkit.com/guides/ios/current/features/indexed-full-text-search/

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryMatchExactWordsOnlyKey

    Swift

    let PSPDFLibraryMatchExactWordsOnlyKey: String
  • Set this to @YES to restrict search to exact phrase matches. This means that “Lorem ipsum dolor” only matches that phrase and not something like “Lorem sit ipsum dolor”.

    Warning

    If the default tokenizer is used, this will impact performance. If you find it is too slow, consider using a different tokenizer. See https://pspdfkit.com/guides/ios/current/features/indexed-full-text-search/

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryMatchExactPhrasesOnlyKey

    Swift

    let PSPDFLibraryMatchExactPhrasesOnlyKey: String
  • Set this to @YES to exclude annotations from the search. By default, indexed annotations will be searched.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryExcludeAnnotationsKey

    Swift

    let PSPDFLibraryExcludeAnnotationsKey: String
  • Set this to @YES to include document text from the search. By default, indexed document text will be searched.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryExcludeDocumentTextKey

    Swift

    let PSPDFLibraryExcludeDocumentTextKey: String
  • Customizes the range of the preview string. Defaults to 20/160.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFLibraryPreviewRangeKey

    Swift

    let PSPDFLibraryPreviewRangeKey: String
  • Posted when the media player started playing. Notification includes the PSPDFMediaPlayerController.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFMediaPlayerControllerPlaybackDidStartNotification

    Swift

    static let PSPDFMediaPlayerControllerPlaybackDidStart: NSNotification.Name
  • Posted when the media player paused. Notification includes the PSPDFMediaPlayerController.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFMediaPlayerControllerPlaybackDidPauseNotification

    Swift

    static let PSPDFMediaPlayerControllerPlaybackDidPause: NSNotification.Name
  • Posted when the media player finished playing the entire video. Notification includes the PSPDFMediaPlayerController.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFMediaPlayerControllerPlaybackDidFinishNotification

    Swift

    static let PSPDFMediaPlayerControllerPlaybackDidFinish: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT BOOL PSPDFAllowImagesForMenuItems

    Swift

    var PSPDFAllowImagesForMenuItems: ObjCBool
  • Metadata key for the document title. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(title) const PSPDFMetadataName PSPDFMetadataTitleKey
  • Metadata key for the document author. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(author) const PSPDFMetadataName PSPDFMetadataAuthorKey
  • Metadata key for the document subject. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(subject) const PSPDFMetadataName PSPDFMetadataSubjectKey
  • Metadata key for the document keywords. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(keywords) const PSPDFMetadataName PSPDFMetadataKeywordsKey
  • Metadata key for the document creator. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(creator) const PSPDFMetadataName PSPDFMetadataCreatorKey
  • Metadata key for the document producer. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(producer) const PSPDFMetadataName PSPDFMetadataProducerKey
  • Metadata key for the document creation date. Object will be of type Date.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(creationDate) const PSPDFMetadataName
        PSPDFMetadataCreationDateKey
  • Metadata key for the document modification date. Object will be of type Date.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(modificationDate) const PSPDFMetadataName
        PSPDFMetadataModDateKey
  • Metadata key for the document’s trapped value. Object will be of type String.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(trapped) const PSPDFMetadataName PSPDFMetadataTrappedKey
  • Transforms named actions to enum type and back.

    Note

    The transformer is added in the class initialize phase. Requires PSPDFNamedAction to be accessed at least once.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(namedActionType) const PSPDFValueTransformerName
        PSPDFNamedActionTypeTransformerName

    Swift

    static let namedActionType: ValueTransformerName
  • Posted whenever any network activity in PSPDFKit starts.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFNetworkActivityDidStartNotification

    Swift

    static let PSPDFNetworkActivityDidStart: NSNotification.Name
  • Posted whenever any network activity in PSPDFKit finishes (that is, either completes or fails).

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFNetworkActivityDidFinishNotification

    Swift

    static let PSPDFNetworkActivityDidFinish: NSNotification.Name
  • Marks an unused or invalid page number.

    Declaration

    Objective-C

    static const PSPDFPageIndex PSPDFPageNull = (9223372036854775807L * 2UL + 1UL)

    Swift

    let PSPDFPageNull: PageIndex
  • Specifies a blank page.

    Declaration

    Objective-C

    extern const PSPDFTemplateIdentifier _Nonnull PSPDFTemplateIdentifierBlank

    Swift

    static let blank: PageTemplate.Identifier
  • Specifies a pattern for a new page with a dot grid that is 5mm apart.

    Declaration

    Objective-C

    extern const PSPDFTemplateIdentifier _Nonnull PSPDFTemplateIdentifierDot5mm

    Swift

    static let dot5mm: PageTemplate.Identifier
  • Specifies a pattern for a new page with a grid that is 5mm apart.

    Declaration

    Objective-C

    extern const PSPDFTemplateIdentifier _Nonnull PSPDFTemplateIdentifierGrid5mm

    Swift

    static let grid5mm: PageTemplate.Identifier
  • Specifies a pattern for a new page with lines that are 5mm apart.

    Declaration

    Objective-C

    extern const PSPDFTemplateIdentifier _Nonnull PSPDFTemplateIdentifierLines5mm

    Swift

    static let lines5mm: PageTemplate.Identifier
  • Specifies a pattern for a new page with lines that are 7mm apart.

    Declaration

    Objective-C

    extern const PSPDFTemplateIdentifier _Nonnull PSPDFTemplateIdentifierLines7mm

    Swift

    static let lines7mm: PageTemplate.Identifier
  • Specifies a pattern for a new page with image.

    Declaration

    Objective-C

    extern const PSPDFTemplateIdentifier _Nonnull PSPDFTemplateIdentifierImage

    Swift

    static let image: PageTemplate.Identifier
  • Identifier for the menu item that copies selected text to clipboard.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuCopy

    Swift

    static let copy: TextMenu
  • Identifier for the menu item that shows dictionary definition for selected text. Not available for Mac Catalyst (FB6823989)

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuDefine

    Swift

    static let define: TextMenu
  • Identifier for the menu item that searches the document for the selected text.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuSearch

    Swift

    static let search: TextMenu
  • Identifier for the menu item that looks up the selected text on Wikipedia.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuWikipedia

    Swift

    static let wikipedia: TextMenu
  • Identifier for the menu item that add a link annotation over the selected text.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuCreateLink

    Swift

    static let createLink: TextMenu
  • Identifier for the menu item that speaks the selected text out loud.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuSpeak

    Swift

    static let speak: TextMenu
  • Identifier for the menu item that pauses speaking text out loud.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuPause

    Swift

    static let pause: TextMenu
  • Identifier for opening the iOS share sheet.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuShare

    Swift

    static let share: TextMenu
  • Identifier for opening a save panel for images. (Mac Catalyst specific)

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFTextMenuSaveAs

    Swift

    static let saveAs: TextMenu
  • General Annotation types are used from PSPDFAnnotationString* defines

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuCancel

    Swift

    static let annotationMenuCancel: TextMenu
  • Identifier for the menu item that shows the selected annotation’s note/comments.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuNote

    Swift

    static let annotationMenuNote: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuGroup

    Swift

    static let annotationMenuGroup: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuUngroup

    Swift

    static let annotationMenuUngroup: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuSave

    Swift

    static let annotationMenuSave: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuRemove

    Swift

    static let annotationMenuRemove: TextMenu
  • Identifier for the menu item that copies the selected annotation to the clipboard.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuCopy

    Swift

    static let annotationMenuCopy: TextMenu
  • Identifier for the menu item that pastes the clipboard contents as an annotation.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuPaste

    Swift

    static let annotationMenuPaste: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuMerge

    Swift

    static let annotationMenuMerge: TextMenu
  • Identifier for the menu item that shows a preview of a file annotation’s file.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuPreviewFile

    Swift

    static let annotationMenuPreviewFile: TextMenu
  • Annotation Inspector

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuInspector

    Swift

    static let annotationMenuInspector: TextMenu
  • Text markup annotation style menu.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuStyle

    Swift

    static let annotationMenuStyle: TextMenu
  • Colors For menu colors, we use PSPDFAnnotationMenuColor_index_colorName.

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuColor

    Swift

    static let annotationMenuColor: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuFillColor

    Swift

    static let annotationMenuFillColor: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuOpacity

    Swift

    static let annotationMenuOpacity: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuBlendMode

    Swift

    static let annotationMenuBlendMode: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuCustomColor

    Swift

    static let annotationMenuCustomColor: TextMenu
  • Highlights

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuHighlightType

    Swift

    static let annotationMenuHighlightType: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuHighlight

    Swift

    static let annotationMenuHighlight: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuUnderline

    Swift

    static let annotationMenuUnderline: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuStrikeout

    Swift

    static let annotationMenuStrikeout: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuSquiggle

    Swift

    static let annotationMenuSquiggle: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuRedaction

    Swift

    static let annotationMenuRedaction: TextMenu
  • Ink

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuThickness

    Swift

    static let annotationMenuThickness: TextMenu
  • Sound annotations

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuPlay

    Swift

    static let annotationMenuPlay: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuPause

    Swift

    static let annotationMenuPause: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuPauseRecording

    Swift

    static let annotationMenuPauseRecording: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuContinueRecording

    Swift

    static let annotationMenuContinueRecording: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuFinishRecording

    Swift

    static let annotationMenuFinishRecording: TextMenu
  • Free Text

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuEdit

    Swift

    static let annotationMenuEdit: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuSize

    Swift

    static let annotationMenuSize: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuFont

    Swift

    static let annotationMenuFont: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuAlignment

    Swift

    static let annotationMenuAlignment: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuAlignmentLeft

    Swift

    static let annotationMenuAlignmentLeft: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuAlignmentCenter

    Swift

    static let annotationMenuAlignmentCenter: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuAlignmentRight

    Swift

    static let annotationMenuAlignmentRight: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuFitToText

    Swift

    static let annotationMenuFitToText: TextMenu
  • Line/Polyline

    Declaration

    Objective-C

    extern const PSPDFTextMenu _Nonnull PSPDFAnnotationMenuLineStart

    Swift

    static let annotationMenuLineStart: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineEnd

    Swift

    static let annotationMenuLineEnd: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeNone

    Swift

    static let annotationMenuLineTypeNone: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeSquare

    Swift

    static let annotationMenuLineTypeSquare: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeCircle

    Swift

    static let annotationMenuLineTypeCircle: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeDiamond

    Swift

    static let annotationMenuLineTypeDiamond: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeOpenArrow

    Swift

    static let annotationMenuLineTypeOpenArrow: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeClosedArrow

    Swift

    static let annotationMenuLineTypeClosedArrow: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeButt

    Swift

    static let annotationMenuLineTypeButt: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeReverseOpenArrow

    Swift

    static let annotationMenuLineTypeReverseOpenArrow: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeReverseClosedArrow

    Swift

    static let annotationMenuLineTypeReverseClosedArrow: TextMenu
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const PSPDFTextMenu PSPDFAnnotationMenuLineTypeSlash

    Swift

    static let annotationMenuLineTypeSlash: TextMenu
  • Notification is fired when the selectedAnnotations value changed. object is the pageView.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFPageViewSelectedAnnotationsDidChangeNotification

    Swift

    static let PSPDFPageViewSelectedAnnotationsDidChange: NSNotification.Name
  • The name of the notification that is fired when a newly created annotation is inserted.

    Note

    This notification does not have a sender (object == nil).

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFAnnotationCreateActionDidInsertNotification

    Swift

    static let PSPDFAnnotationCreateActionDidInsert: NSNotification.Name
  • The key, in PSPDFAnnotationCreateActionDidInsertNotification‘s userInfo, that is used to store the array of inserted annotations.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull PSPDFAnnotationCreateActionInsertedAnnotationsKey

    Swift

    let PSPDFAnnotationCreateActionInsertedAnnotationsKey: String
  • NSValueTransformer to convert between PSPDFPolygonAnnotationIntent enum and string value.

    Note

    The transformer is added in the class initialize phase. Requires PSPDFPolygonAnnotation to be accessed at least once.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(polygonAnnotationIntent) const PSPDFValueTransformerName
        PSPDFPolygonAnnotationIntentTransformerName

    Swift

    static let polygonAnnotationIntent: ValueTransformerName
  • Presentation style.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionPresentationStyle

    Swift

    static let presentationStyle: PresentationOption
  • User interface style for the contents when presenting in a half-modal or a popover.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionHalfModalStyle

    Swift

    static let halfModalStyle: PresentationOption
  • Set to YES to prevent the presentation from adapting to a different style. This may be used to show popovers in horizontally compact environments. The object stored with this key is expected to be an NSNumber wrapping a Boolean value.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionNonAdaptive

    Swift

    static let nonAdaptive: PresentationOption
  • A block than can be queried to get the current presentation source rectangle, used for popovers and half modal presentations. This is interpreted relative to the source view controller’s view. The type of the block is CGRect (^)(): it doesn’t take any arguments and return a CGRect. This works if the container view resizes, so is preferred over the rectangle in PSPDFPresentationOptionSourceRect.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionSourceRectProvider

    Swift

    static let sourceRectProvider: PresentationOption
  • A convenience for setting the presented view controller’s preferredContentSize just before it is presented.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionContentSize

    Swift

    static let contentSize: PresentationOption
  • Set to YES to embed the controller in a navigation controller. If the controller is already a navigation controller, no change is made. This option is inferred if a close button should be added due to PSPDFPresentationOptionCloseButton being set.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionInNavigationController

    Swift

    static let inNavigationController: PresentationOption
  • Set to YES to add a close button that dismisses the presented view controller. This implies embedding in a navigation controller so it’s not necessary to also set PSPDFPresentationOptionInNavigationController.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionCloseButton

    Swift

    static let closeButton: PresentationOption
  • If this is YES and there is an existing presentation in place that also set this to YES, and both presented view controllers are navigation controllers of the same class, then the existing presentation will be reused by setting the viewControllers of the existing navigation controller.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionReuseNavigationController

    Swift

    static let reuseNavigationController: PresentationOption
  • Customize default arrow directions for popover.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionPopoverArrowDirections

    Swift

    static let popoverArrowDirections: PresentationOption
  • Customize the popover click-through views. This is required as changing passthroughViews after the controller has been presented has no effect.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionPopoverPassthroughViews

    Swift

    static let popoverPassthroughViews: PresentationOption
  • Customize the popover backdrop view background color (includes the arrow color).

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionPopoverBackgroundColor

    Swift

    static let popoverBackgroundColor: PresentationOption
  • The presentation source rectangle, used for popovers and half modal presentations. This is interpreted relative to the source view controller’s view. PSPDFPresentationOptionSourceRectProvider is preferred.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionSourceRect

    Swift

    static let sourceRect: PresentationOption
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionPresentationStyle instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationStyleKey

    Swift

    let PSPDFPresentationStyleKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionHalfModalStyle instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationHalfModalStyleKey

    Swift

    let PSPDFPresentationHalfModalStyleKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionNonAdaptive instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationNonAdaptiveKey

    Swift

    let PSPDFPresentationNonAdaptiveKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionSourceRectProvider instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationRectBlockKey

    Swift

    let PSPDFPresentationRectBlockKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionContentSize instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationContentSizeKey

    Swift

    let PSPDFPresentationContentSizeKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionInNavigationController instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationInNavigationControllerKey

    Swift

    let PSPDFPresentationInNavigationControllerKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionCloseButton instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationCloseButtonKey

    Swift

    let PSPDFPresentationCloseButtonKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionReuseNavigationController instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationReuseNavigationControllerKey

    Swift

    let PSPDFPresentationReuseNavigationControllerKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionPopoverArrowDirections instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationPopoverArrowDirectionsKey

    Swift

    let PSPDFPresentationPopoverArrowDirectionsKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionPopoverPassthroughViews instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationPopoverPassthroughViewsKey

    Swift

    let PSPDFPresentationPopoverPassthroughViewsKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionPopoverBackgroundColor instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationPopoverBackgroundColorKey

    Swift

    let PSPDFPresentationPopoverBackgroundColorKey: String
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionSourceRect instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFPresentationRectKey

    Swift

    let PSPDFPresentationRectKey: String
  • Available keys for options. PSPDFProcessorAnnotationDictKey in form of pageIndex -> annotations. Annotations will be flattened when type is set, unless PSPDFProcessorAnnotationAsDictionaryKey is also set. Don’t forget to also define the types of annotations that should be processed: PSPDFProcessorAnnotationTypesKey: @(PSPDFAnnotationTypeAll).

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorAnnotationTypesKey

    Swift

    let PSPDFProcessorAnnotationTypesKey: String
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFProcessorAnnotationDictKey

    Swift

    let PSPDFProcessorAnnotationDictKey: String
  • Set to @YES to add annotations as dictionary and don’t flatten them. Dictionary keys are the original page indexes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorAnnotationAsDictionaryKey

    Swift

    let PSPDFProcessorAnnotationAsDictionaryKey: String
  • Specifies the user password that should be set on the generated PDF.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorUserPasswordKey

    Swift

    let PSPDFProcessorUserPasswordKey: String
  • Specifies the owner password that should be set on the generated PDF.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorOwnerPasswordKey

    Swift

    let PSPDFProcessorOwnerPasswordKey: String
  • Specifies the key length that should be used to encrypt the PDF. Value must be divisible by 8 and in the range of 40 to 128.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorKeyLengthKey

    Swift

    let PSPDFProcessorKeyLengthKey: String
  • Defaults to PSPDFPaperSizeA4

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorPageRectKey

    Swift

    let PSPDFProcessorPageRectKey: String
  • Defaults to 10. Set lower to optimize, higher if you have a lot of content.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorNumberOfPagesKey

    Swift

    let PSPDFProcessorNumberOfPagesKey: String
  • Defines the page margin. Defaults to UIEdgeInsetsMake(5, 5, 5, 5).

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorPageBorderMarginKey

    Swift

    let PSPDFProcessorPageBorderMarginKey: String
  • If you print web pages, they might load async content which can’t be reliably detected. Defaults to 0.05 seconds. Set higher if you get blank pages.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorAdditionalDelayKey

    Swift

    let PSPDFProcessorAdditionalDelayKey: String
  • Defaults to NO. Adds an additional step to strip white pages if you’re getting any at the end.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorStripEmptyPagesKey

    Swift

    let PSPDFProcessorStripEmptyPagesKey: String
  • Common page sizes. Use for PSPDFProcessorPageRectKey.

    Declaration

    Objective-C

    extern const CGRect PSPDFPaperSizeA4

    Swift

    let PSPDFPaperSizeA4: CGRect
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const CGRect PSPDFPaperSizeLetter

    Swift

    let PSPDFPaperSizeLetter: CGRect
  • common options Will override any defaults if set.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFProcessorDocumentTitleKey

    Swift

    let PSPDFProcessorDocumentTitleKey: String
  • This notification is triggered if something happens that changes the way a page looks.

    The user info dictionary of this notification always contains the key PSPDFRenderManagerRenderResultChangedDocumentKey which contains the document that changed and optionally PSPDFRenderManagerRenderResultChangedPagesKey which contains an index set of the pages that changed within this document.

    If a document was changed e.g. by adding or removing an annotation, this notification tells you that the render engine and the cache have been updated and scheduling a new render task is guaranteed to return the new state of the document.

    In other words: If you constantly want to show up to date data, observe this notification and request a new image when this notification is posted.

    Note

    This notification is posted on an arbitrary queue. If you need to react on this on the main queue, you need to switch to the main queue yourself.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFRenderManagerRenderResultDidChangeNotification

    Swift

    static let PSPDFRenderManagerRenderResultDidChange: NSNotification.Name
  • The key of a PSPDFRenderManagerRenderResultDidChangeNotification userInfo’s dictionary, containing the PSPDFDocument that was changed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFRenderManagerRenderResultChangedDocumentKey

    Swift

    let PSPDFRenderManagerRenderResultChangedDocumentKey: String
  • The key of a PSPDFRenderManagerRenderResultDidChangeNotification userInfo’s dictionary, containing an NSIndexSet with all the relevant pages. If the entry for this key in the user info dictionary is nil, the whole document should be treated as changed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFRenderManagerRenderResultChangedPagesKey

    Swift

    let PSPDFRenderManagerRenderResultChangedPagesKey: String
  • The PSPDFPageInfo object containing page info.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFPageRendererPageInfoKey

    Swift

    let PSPDFPageRendererPageInfoKey: String
  • Absolute limit for image rendering (memory constraint)

    Declaration

    Objective-C

    extern const CGSize PSPDFRenderSizeLimit

    Swift

    let PSPDFRenderSizeLimit: CGSize
  • Transforms a rendition action type enum to string and back.

    Note

    The transformer is added in the class initialize phase. Requires PSPDFRenditionAction to be accessed at least once.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(renditionActionType) const PSPDFValueTransformerName
        PSPDFRenditionActionTypeTransformerName

    Swift

    static let renditionActionType: ValueTransformerName
  • Constant used to always force guide snapping.

    Declaration

    Objective-C

    extern const CGFloat PSPDFGuideSnapAllowanceAlways

    Swift

    let PSPDFGuideSnapAllowanceAlways: CGFloat
  • The default store name used in the PSPDFKeychainSignatureStore.

    Declaration

    Objective-C

    extern NS_SWIFT_NAME(KeychainSignatureStore.DefaultStoreName)
        NSString *PSPDFKeychainSignatureStoreDefaultStoreName

    Swift

    class let DefaultStoreName: String
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFSignerErrorDomain

    Swift

    let PSPDFSignerErrorDomain: String
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSoundAnnotationEncoding const PSPDFSoundAnnotationEncodingRaw

    Swift

    static let raw: SoundAnnotation.Encoding
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSoundAnnotationEncoding const PSPDFSoundAnnotationEncodingSigned

    Swift

    static let signed: SoundAnnotation.Encoding
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSoundAnnotationEncoding const PSPDFSoundAnnotationEncodingMuLaw

    Swift

    static let muLaw: SoundAnnotation.Encoding
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT PSPDFSoundAnnotationEncoding const PSPDFSoundAnnotationEncodingALaw

    Swift

    static let aLaw: SoundAnnotation.Encoding
  • Posted when recording or playback is started, paused or stopped.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFSoundAnnotationChangedStateNotification

    Swift

    static let PSPDFSoundAnnotationChangedState: NSNotification.Name
  • Posted when +stopRecordingOrPlaybackForAllExcept: is invoked.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFSoundAnnotationStopAllNotification

    Swift

    static let PSPDFSoundAnnotationStopAll: NSNotification.Name
  • Language auto-detection.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFSpeechSynthesizerAutoDetectLanguage

    Swift

    let PSPDFSpeechSynthesizerAutoDetectLanguage: String
  • Force a specific language.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFSpeechSynthesizerLanguageKey

    Swift

    let PSPDFSpeechSynthesizerLanguageKey: String
  • Provide text to sample a language.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PSPDFSpeechSynthesizerLanguageHintKey

    Swift

    let PSPDFSpeechSynthesizerLanguageHintKey: String
  • A green checkmark stamp. Does not display text. From Adobe Acrobat’s Sign Here stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeAccepted

    Swift

    static let accepted: StampAnnotation.Kind
  • A green stamp that displays the text ‘APPROVED’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeApproved

    Swift

    static let approved: StampAnnotation.Kind
  • A stamp that displays the text ‘AS IS’ in English. From the PDF specification.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeAsIs

    Swift

    static let asIs: StampAnnotation.Kind
  • A green stamp that displays the text ‘COMPLETED’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeCompleted

    Swift

    static let completed: StampAnnotation.Kind
  • A stamp that displays the text ‘CONFIDENTIAL’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeConfidential

    Swift

    static let confidential: StampAnnotation.Kind
  • A stamp that displays the text ‘DEPARTMENTAL’ in English. From the PDF specification.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeDepartmental

    Swift

    static let departmental: StampAnnotation.Kind
  • A stamp that displays the text ‘DRAFT’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeDraft

    Swift

    static let draft: StampAnnotation.Kind
  • A stamp that displays the text ‘EXPERIMENTAL’ in English. From the PDF specification.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeExperimental

    Swift

    static let experimental: StampAnnotation.Kind
  • A stamp that displays the text ‘EXPIRED’ in English. From the PDF specification.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeExpired

    Swift

    static let expired: StampAnnotation.Kind
  • A green stamp that displays the text ‘FINAL’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeFinal

    Swift

    static let final: StampAnnotation.Kind
  • A stamp that displays the text ‘FOR COMMENT’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeForComment

    Swift

    static let forComment: StampAnnotation.Kind
  • A stamp that displays the text ‘FOR PUBLIC RELEASE’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeForPublicRelease

    Swift

    static let forPublicRelease: StampAnnotation.Kind
  • A stamp that displays the text ‘INFORMATION ONLY’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeInformationOnly

    Swift

    static let informationOnly: StampAnnotation.Kind
  • A stamp with a left-pointing arrow that displays the text ‘INITIAL HERE’ in English. From Adobe Acrobat’s Sign Here stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeInitialHere

    Swift

    static let initialHere: StampAnnotation.Kind
  • A red stamp that displays the text ‘NOT APPROVED’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeNotApproved

    Swift

    static let notApproved: StampAnnotation.Kind
  • A stamp that displays the text ‘NOT FOR PUBLIC RELEASE’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeNotForPublicRelease

    Swift

    static let notForPublicRelease: StampAnnotation.Kind
  • A stamp that displays the text ‘PRELIMINARY RESULTS’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypePreliminaryResults

    Swift

    static let preliminaryResults: StampAnnotation.Kind
  • A red cross stamp. Does not display text. From Adobe Acrobat’s Sign Here stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeRejected

    Swift

    static let rejected: StampAnnotation.Kind
  • A stamp that displays the text ‘REVISED’ in English. From Adobe Acrobat’s Dynamic stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeRevised

    Swift

    static let revised: StampAnnotation.Kind
  • A red stamp with a left-pointing arrow that displays the text ‘SIGN HERE’ in English. From Adobe Acrobat’s Sign Here stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeSignHere

    Swift

    static let signHere: StampAnnotation.Kind
  • A stamp that displays the text ‘SOLD’ in English. From the PDF specification.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeSold

    Swift

    static let sold: StampAnnotation.Kind
  • A stamp that displays the text ‘TOP SECRET’ in English. From the PDF specification.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeTopSecret

    Swift

    static let topSecret: StampAnnotation.Kind
  • A red stamp that displays the text ‘VOID’ in English. From Adobe Acrobat’s Standard Business stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeVoid

    Swift

    static let void: StampAnnotation.Kind
  • A yellow stamp with a left-pointing arrow that displays the text ‘WITNESS’ in English. From Adobe Acrobat’s Sign Here stamps.

    Declaration

    Objective-C

    extern const PSPDFStampType _Nonnull PSPDFStampTypeWitness

    Swift

    static let witness: StampAnnotation.Kind
  • Show the overflow button only when the number of tabs and minimum tab width result in the tabbed bar scrolling.

    Declaration

    Objective-C

    static const NSInteger PSPDFTabbedBarOverflowThresholdAutomatic = -1

    Swift

    let PSPDFTabbedBarOverflowThresholdAutomatic: Int
  • Never show the overflow button.

    Declaration

    Objective-C

    static const NSInteger PSPDFTabbedBarOverflowThresholdNever =
        9223372036854775807L

    Swift

    let PSPDFTabbedBarOverflowThresholdNever: Int
  • Mask for all text markups. PSPDFAnnotationTypeHighlight|PSPDFAnnotationTypeStrikeOut|PSPDFAnnotationTypeUnderline|PSPDFAnnotationTypeSquiggly

    Declaration

    Objective-C

    extern const PSPDFAnnotationType PSPDFAnnotationTypeTextMarkup

    Swift

    let PSPDFAnnotationTypeTextMarkup: Annotation.Kind
  • Show all thumbnails.

    Declaration

    Objective-C

    extern const PSPDFThumbnailViewFilter _Nonnull PSPDFThumbnailViewFilterShowAll

    Swift

    static let showAll: ThumbnailViewFilter
  • Show bookmarked thumbnails.

    Declaration

    Objective-C

    extern const PSPDFThumbnailViewFilter _Nonnull PSPDFThumbnailViewFilterBookmarks

    Swift

    static let bookmarks: ThumbnailViewFilter
  • All annotation types except links. Requires the PSPDFFeatureMaskAnnotationEditing feature flag.

    Declaration

    Objective-C

    extern const PSPDFThumbnailViewFilter _Nonnull PSPDFThumbnailViewFilterAnnotations

    Swift

    static let annotations: ThumbnailViewFilter
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT const CGFloat PSPDFToolbarDefaultFixedDimensionLength

    Swift

    let PSPDFToolbarDefaultFixedDimensionLength: CGFloat
  • Sent once we have new undo operations available.

    Note

    Always sent on the main thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFUndoControllerAddedUndoActionNotification

    Swift

    static let PSPDFUndoControllerAddedUndoAction: NSNotification.Name
  • Sent once we have available undo actions have been changed/removed.

    Note

    Always sent on the main thread.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFUndoControllerRemovedUndoActionNotification

    Swift

    static let PSPDFUndoControllerRemovedUndoAction: NSNotification.Name
  • Posted after the username view controller is dismissed, both when the user cancels or confirms the name. Can be used to reset the first responder after the username flow is complete.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PSPDFUsernameHelperDidDismissViewNotification

    Swift

    static let PSPDFUsernameHelperDidDismissView: NSNotification.Name
  • Search current page, but don’t show any search UI. Dictionary key, expects a boxed boolean as value.

    Declaration

    Objective-C

    extern const PSPDFPresentationOption _Nonnull PSPDFPresentationOptionSearchHeadless

    Swift

    static let searchHeadless: PresentationOption
  • Deprecated

    Deprecated in PSPDFKit 9.3 for iOS. Please use PSPDFPresentationOptionSearchHeadless instead.

    Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSString *const PSPDFViewControllerSearchHeadlessKey

    Swift

    let PSPDFViewControllerSearchHeadlessKey: String
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSNotificationName const PSPDFWebViewControllerDidStartLoadingNotification

    Swift

    static let PSPDFWebViewControllerDidStartLoading: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSNotificationName const PSPDFWebViewControllerDidFinishLoadingNotification

    Swift

    static let PSPDFWebViewControllerDidFinishLoading: NSNotification.Name
  • Undocumented

    Declaration

    Objective-C

    PSPDF_EXPORT NSNotificationName const PSPDFWebViewControllerDidFailToLoadNotification

    Swift

    static let PSPDFWebViewControllerDidFailToLoad: NSNotification.Name