Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last stroke is not saved in .signature UIImage #67

Open
amachairidis opened this issue Oct 13, 2023 · 1 comment
Open

Last stroke is not saved in .signature UIImage #67

amachairidis opened this issue Oct 13, 2023 · 1 comment

Comments

@amachairidis
Copy link

amachairidis commented Oct 13, 2023

You can easily reproduce this if you draw a plus sign with 2 strokes.
If you copy the .signature?.pngData() that is returned in swiftSignatureViewDidDraw and encode it to base64. Put it in any online converter, you will see only the first stroke of your plus sign. E.g - or | instead of +.

Any ideas?

iOS 17

@amachairidis
Copy link
Author

Update:
Seems to be an issue only with PencilKitSignatureView.
If I hardcode it to use LegacySwiftSignatureView it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant