PSPDFDocumentInfoViewController
Objective-C
@interface PSPDFDocumentInfoViewController
: PSPDFStaticTableViewController <PSPDFDocumentInfoController,
PSPDFSegmentImageProviding,
PSPDFStyleable, PSPDFOverridable>
Swift
class PDFDocumentInfoViewController : PDFStaticTableViewController, DocumentInfoController, SegmentImageProviding, Styleable, Overridable
Document Info View Controller.
Present and allows to edit the most common PDF Document properties (metadata). Changes are applied to the document automatically.
-
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;
-
The delegate reacting to updates of the view controller
Declaration
Objective-C
@property (nonatomic, weak) id<PSPDFDocumentInfoViewControllerDelegate> _Nullable delegate;
Swift
weak var delegate: PSPDFDocumentInfoViewControllerDelegate? { get set }
-
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 info 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 metadata should be shown.
-
Creates a new document info view controller from Interface Builder.
Declaration
Objective-C
- (nullable instancetype)initWithCoder:(nonnull NSCoder *)decoder;
Swift
init?(coder decoder: NSCoder)