Capturing Signatures on iOS
Join the DZone community and get the full member experience.Join For Free
this is a nifty little piece to bookmark just in case you ever need to do any nice smooth line capturing:
capture a signature on ios
the square engineering blog has a great article on smoother signatures for android , but i didn’t find anything specifically about ios. so, what is the best way to capture a users signature on an ios device?
although i didn’t find any articles on signature capture, there are good implementations on the app store. my target user experience was the ipad application paper by 53 , a drawing application with beautiful and responsive brushes.
all code is available in the github repository: signaturedemo …
… here is an example of the final output using quadratic bézier curves, and velocity based stroke thickness creating a visually appealing and natural signature.
handy if you ever need it!
h/t: maniacdev !
Published at DZone with permission of Alex Curylo, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Observability Architecture: Financial Payments Introduction
Comparing Cloud Hosting vs. Self Hosting
Design Patterns for Microservices: Ambassador, Anti-Corruption Layer, and Backends for Frontends
Competing Consumers With Spring Boot and Hazelcast