PSPDFSaveViewController

Manages a UI for saving documents. Allows file naming and directory selection based on the PSPDFDirectory entires from the passed in PSPDFDocumentEditorConfiguration object.

Note

This class requires the Document Editor component to be enabled for your license.
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_TABLEVIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_TABLEVIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_TABLEVIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_TABLEVIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_TABLEVIEWCONTROLLER_INIT_UNAVAILABLE
  • Initializes the controller with a document editor configuration and file path.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDocumentEditorConfiguration:
        (nonnull PSPDFDocumentEditorConfiguration *)configuration;

    Swift

    init(documentEditorConfiguration configuration: PSPDFDocumentEditorConfiguration)
  • Should be the object responsible for dismissal and perform the actual save operation.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<PSPDFSaveViewControllerDelegate> _Nullable delegate;

    Swift

    weak var delegate: PSPDFSaveViewControllerDelegate? { get set }
  • The desired file name. Might not always be a valid file name (may have illegal characters).

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *fileName;

    Swift

    var fileName: String? { get set }
  • The resulting full path with the PDF extension. Considers the filename and selected directory. Will be nil, if fileName is not a valid.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *fullFilePath;

    Swift

    var fullFilePath: String? { get }
  • Shows a directory picker based on the configuration presets. Defaults to YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL showDirectoryPicker;

    Swift

    var showDirectoryPicker: Bool { get set }