PSPDFAutosaveReason

NS_ENUM(NSInteger, PSPDFAutosaveReason) {
    /// Called when the view controller was visible but is being dismissed/is disappearing because of another presentation. (`viewDidDisappear`)
    PSPDFAutosaveReasonDisappearing,
    /// The application is moved to background (see `UIApplicationDidEnterBackgroundNotification`)
    PSPDFAutosaveReasonMovingToBackground,
    /// The application is terminating. (see `UIApplicationWillTerminateNotification`)
    PSPDFAutosaveReasonTerminating,
    /// A File conflict has been detected and is being resolved. (see `PSPDFFileConflictResolution`)
    PSPDFAutosaveReasonResolvingFileConflict
}

Undocumented

  • Called when the view controller was visible but is being dismissed/is disappearing because of another presentation. (viewDidDisappear)

    Declaration

    Objective-C

    PSPDFAutosaveReasonDisappearing

    Swift

    case disappearing = 0
  • The application is moved to background (see UIApplicationDidEnterBackgroundNotification)

    Declaration

    Objective-C

    PSPDFAutosaveReasonMovingToBackground

    Swift

    case movingToBackground = 1
  • The application is terminating. (see UIApplicationWillTerminateNotification)

    Declaration

    Objective-C

    PSPDFAutosaveReasonTerminating

    Swift

    case terminating = 2
  • A File conflict has been detected and is being resolved. (see PSPDFFileConflictResolution)

    Declaration

    Objective-C

    PSPDFAutosaveReasonResolvingFileConflict

    Swift

    case resolvingFileConflict = 3