PSPDFDocumentSecurityViewController
Objective-C
@interface PSPDFDocumentSecurityViewController
: PSPDFStaticTableViewController <PSPDFDocumentInfoController,
PSPDFStyleable, PSPDFOverridable>
Swift
class PDFDocumentSecurityViewController : PDFStaticTableViewController, DocumentInfoController, Styleable, Overridable
Document Security and Permissions View Controller.
Present and allows to edit the PDF Document permissions and passwords.
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil PSPDF_NOT_DESIGNATED_INITIALIZER_ATTRIBUTE;
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
- (instancetype)initWithStyle:(UITableViewStyle)style PSPDF_NOT_DESIGNATED_INITIALIZER_ATTRIBUTE;
-
Whether the user can edit the list. Defaults to
true
. Determines if the controller should allow editing and if the Edit button should be shown.Declaration
Objective-C
@property (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 (nonatomic, copy) 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 (nonatomic, copy) 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
- (nullable instancetype)initWithCoder:(nonnull NSCoder *)decoder;
Swift
init?(coder decoder: NSCoder)