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
I have Create programmatically signature pad design but default background colour is black first time tap to colour change white.