PSPDFSignatureCreationConfigurationBuilder

Objective-C


@interface PSPDFSignatureCreationConfigurationBuilder
    : PSPDFBaseConfigurationBuilder

Mutable builder for configuration options for PSPDFSignatureCreationViewController.

  • The ways in which the user can choose to add their signature.

    This array should contain PSPDFSignatureCreationMode values boxed in NSNumber objects.

    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.

    Defaults to @[@(PSPDFSignatureCreationModeDraw), @(PSPDFSignatureCreationModeImage), @(PSPDFSignatureCreationModeType)].

    Declaration

    Objective-C

    @property (nonatomic, copy) NSArray<NSNumber *> *_Nonnull availableModes;
  • Whether natural drawing is enabled, which applies thickness adjustments based on the speed of strokes. Only relevant with the Draw mode. Defaults to true.

    Declaration

    Objective-C

    @property (nonatomic) 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 UIFont instances is ignored. This array must not be empty.

    Declaration

    Objective-C

    @property (nonatomic, copy) NSArray<UIFont *> *_Nonnull fonts;