PSPDFFormRequest
Objective-C
@interface PSPDFFormRequest : NSObject
Swift
class PDFFormRequest : NSObject
Models a request to submit a form in a PDF document to a remove server.
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_EMPTY_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_EMPTY_INIT_UNAVAILABLE
-
Creates and returns a new form request.
Declaration
Objective-C
- (nonnull instancetype) initWithFormat:(PSPDFSubmitFormActionFormat)format values:(nonnull NSDictionary<NSString *, id> *)values request:(nonnull NSURLRequest *)request;
Swift
init(format: SubmitFormActionFormat, values: [String : Any], request: URLRequest)
-
How the form data is to be encoded in the submission.
Declaration
Objective-C
@property (nonatomic, readonly) PSPDFSubmitFormActionFormat submissionFormat;
Swift
var submissionFormat: SubmitFormActionFormat { get }
-
Keys and values of the data to be submitted.
Declaration
Objective-C
@property (nonatomic, readonly) NSDictionary<NSString *, id> *_Nonnull formValues;
Swift
var formValues: [String : Any] { get }
-
The URL request that will be used to fulfill the submission.
Declaration
Objective-C
@property (nonatomic, readonly) NSURLRequest *_Nonnull request;
Swift
var request: URLRequest { get }