So basically, I have this timer that should be repeated when it receives a key event, and invalidates when the user releases the key. However, I am unable to “validate” the timer back even by calling the addTimer:forMode: in NSRunLoop. Does anyone know why this is happening and how I can fix this? Thanks.
So basically, I have this timer that should be repeated when it receives a
Share
You cannot use invalidated timer.
From Apple Docs: