Skip to content

SignaturePad Default Background Colour Black #1

Description

@vishal-vaghasiya

I have Create programmatically signature pad design but default background colour is black first time tap to colour change white.

var signatureView: SignaturePad!

signatureView = SignaturePad(frame: CGRect(x: 0, y: 0, width: Int(screenWidth - 40), height: 150))
                self.signatureView.delegate = self
                
                signatureView.layer.borderWidth = 1
                signatureView.layer.cornerRadius = 5
                signatureView.layer.borderColor = UIColor.lightGray.cgColor

signaturissue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions