alankarmisra/SwiftSignatureView

EXC_BAD_ACCESS in signatureView.delegate = self

michael-mckenna opened this issue · 4 comments

I have placed signatureView.delegate = self in viewDidLoad like in the example, yet I'm still getting a crash.

Can you attach a minimal XCode project that reproduces your problem so I can try and ascertain the problem?

I needed to add "SwiftSignatureView" as the module in the storyboard then it worked.

Hi Michael, I know the issue is closed, but we are faced with the similar error, and thats how i landed here, what do you mean when you say "I needed to add "SwiftSignatureView" as the module in the storyboard then it worked.", how?

You need to go to the Storyboard, select the View where the signature is located and then go to the Identity Inspector and under Custom Class, assign it the SwiftSignatureView Class.
Screen Shot 2019-05-01 at 6 35 42 AM