objective c - Draw along a path detection in iOS -


i writing writing app kids. need enforce writing along define path in dora abc apps. example, writing a.

when user touch , draw, draw when user finger along defined path , can detect whether user follow path or not.

my path defined in uibezierpath.

i try use cgrectcontainspoint seem code when have many alphabet.

any suggestion appreciated.

thanks!

you may try approach-

using custom gestures in ios: using feature can have predefined gestures alphabets , can use these gestures detection. demo code available @ https://github.com/britg/multistrokegesturerecognizer-ios or if want implement scratch- http://blog.federicomestrone.com/2012/01/31/creating-custom-gesture-recognisers-for-ios/


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -