Unscheduling All Selector Functions in Cocos2D iPhone

By | March 3, 2011

There may arise certain situations there you are using a number of @selector functions and want to stop all those selectors. In cocos2D there is an easy way to stop/unschedule all the selectors with a single line of code!

Use this line of code where ever you want to unshedule all the selectors being activated.

[self unscheduleAllSelectors];


Leave a Reply

Your email address will not be published. Required fields are marked *