I add a button as spriteNode to a scene, and i want to run an action when the touch cancelled.
I add a "touches-cancelled" method and write an "NSLog" to test if this method is called. After I run my project, there is no output showing this method is called.
how can i run the "touches cancelled" method to my button?