During debugging my IOS project developed in XCode4, I initialize and run an NSTimer object. However, the timer stops as soon as I pre
IOS
XCode4
NSTimer
Add this single line and try again please
[[NSRunLoop mainRunLoop] addTimer:timer forMode:NSRunLoopCommonModes];