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, assign, unsafe_unretained, readwrite)
        CGFloat strokeThickness;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        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, assign, unsafe_unretained, readwrite)
        BOOL allowPhotoPicker;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    weak var delegate: PTDigSigViewControllerDelegate? { get set }