Im trying to reproduce what is explained in this blog, http://developer.blueearth.net/2011/12/02/quick-tip-clearing-up-ios-multitasking/ , It explains how to use NSTimer in the background.
The problem is that after 10 minutes I get this.
Can't endBackgroundTask: no background task exists with identifier 2b55e8, or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug
And then 4 minutes after the application terminated
Any idea what I can do wrong?
thanks
2b55e8 doesn't look like a good id, but I could be wrong. In my application on iOS 6, they start with 1 and print as integers with this error message, and not as hexadecimal values.