Configuration options for
See example usage at https://pspdfkit.com/guides/ios/signatures/customizing-the-signature-user-interface/
The ways in which the user can choose to add their signature.
This array should contain
PSPDFSignatureCreationModevalues boxed in
These are shown in the order specified as tabs across the top of the signatures UI. The first entry will be selected initially. If this array contains a single entry then the tabs will be hidden. This array must not be empty and must not contain duplicates.
@[@(PSPDFSignatureCreationModeDraw), @(PSPDFSignatureCreationModeImage), @(PSPDFSignatureCreationModeType)].
@property (nonatomic, copy, readonly) NSArray<NSNumber *> *_Nonnull availableModes;
The available colors that the user can pick for their signature when drawing or typing.
The first entry will be selected initially. If this array contains a single entry then the color options will be hidden. This array must not be empty and must not contain duplicates.
Limiting this to no more than around three colors is recommended.
Defaults to black, purple, and blue.
Whether natural drawing is enabled, which applies thickness adjustments based on the speed of strokes. Only relevant with the Draw mode. Defaults to true.
@property (nonatomic, readonly) BOOL isNaturalDrawingEnabled;
Font options presented to the user for the Type mode to set their signature style. Defaults to 4 custom fonts that are bundled by PSPDFKit. The size of the provided
UIFontinstances is ignored. This array must not be empty.