PTDigSigViewController


@interface PTDigSigViewController
    : UIViewController <PTOverridable, UIImagePickerControllerDelegate,
                        UINavigationControllerDelegate>

The PTDigSigViewController allows the user to draw a signature or select an image for a signature form field. A certificate can be used for digital signing.

  • The thickness of the drawn lines.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat strokeThickness;

    Swift

    var strokeThickness: CGFloat { get set }
  • The color to use for drawing.

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *_Nonnull strokeColor;

    Swift

    var strokeColor: UIColor { get set }
  • Whether digital signing is allowed. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic) BOOL allowDigitalSigning;

    Swift

    var allowDigitalSigning: Bool { get set }
  • Whether a photo can picked for use as a signature. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic) BOOL allowPhotoPicker;

    Swift

    var allowPhotoPicker: Bool { get set }
  • An object that conforms to the PTDigSigViewControllerDelegate protocol.

    Declaration

    Objective-C

    @property (nonatomic, weak) id<PTDigSigViewControllerDelegate> _Nullable delegate;

    Swift

    weak var delegate: (any PTDigSigViewControllerDelegate)? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;