Represents one button form field in a PDF form. They come in three variants: - A push button that can have a action attached to it. - A check box that can be independently checked or unchecked. - A radio button that are mutually exclusive.
PSPDFButtonFormFieldcan be the parent of multiple buttons, like a RadioButton group.
Parses PDF Forms (See more
AcroForms). This will not create objects based on the (soon deprecated) XFA standard. - see: https://pspdfkit.com/guides/ios/current/rendering-issues/pspdfkit-doesnt-show-the-pdf-form/
@interface PSPDFFormParser : NSObject
class PSPDFFormParser : NSObject
Delegate for form submission actions. When a form submission action is run, the delegate will be queried in this order: 1.See more
formSubmissionController:shouldPresentWebViewForResponseData:– should the view controller push a web view with the response data. If yes then the web view takes responsibility for the connection and call 4 is not made. 2.
formSubmissionController:shouldSubmitFormValues:– if no then the operation is cancelled. 3.
formSubmissionController:willSubmitFormValues:– the submission is going ahead. 4.a
formSubmissionController:didReceiveResponseData:– the submission has completed successfully OR 4.b
formSubmissionController:didFailWithError:– the submission has failed
@protocol PSPDFFormSubmissionDelegate <NSObject>
protocol PSPDFFormSubmissionDelegate : NSObjectProtocol