PSPDFDocumentSecurityViewController


@interface PSPDFDocumentSecurityViewController
    : PSPDFStaticTableViewController <PSPDFDocumentInfoController,
                                      PSPDFStyleable, PSPDFOverridable>

Document Security and Permissions View Controller.

Present and allows to edit the PDF Document permissions and passwords.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil PSPDF_NOT_DESIGNATED_INITIALIZER_ATTRIBUTE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithStyle:(UITableViewStyle)style PSPDF_NOT_DESIGNATED_INITIALIZER_ATTRIBUTE;
  • The delegate that can be used to override classes.

    Declaration

    Objective-C

    @property (readwrite, nonatomic) id<PSPDFOverridable> _Nullable overrideDelegate;

    Swift

    weak var overrideDelegate: PSPDFOverridable? { get set }
  • Whether the user can edit the list. Defaults to YES. Determines if the controller should allow editing and if the Edit button should be shown.

    Declaration

    Objective-C

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

    Swift

    var allowEditing: Bool { get set }
  • An array of custom bar button items to display on the right (or trailing) side.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSArray<UIBarButtonItem *> *_Nonnull rightActionButtonItems;

    Swift

    var rightActionButtonItems: [UIBarButtonItem] { get set }
  • An array of custom bar button items to display on the left (or leading) side.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        NSArray<UIBarButtonItem *> *_Nonnull leftActionButtonItems;

    Swift

    var leftActionButtonItems: [UIBarButtonItem] { get set }
  • Creates a new document security view controller with a document.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDocument:(nullable PSPDFDocument *)document;

    Swift

    init(document: PSPDFDocument?)

    Parameters

    document

    The document whose document provider’s security should be shown.

  • Creates a new document security view controller from Interface Builder.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCoder:(nonnull NSCoder *)decoder;

    Swift

    init(coder decoder: NSCoder)