views:

51

answers:

0

Hi

I'm very concerned about multitasking, being the lazy developer who is not very happy to update apps.

Let's say I have a NSTimer, which, after a play button is pressed, every second calls a method, which changes the label of minutes and seconds of an audio file (which obviously is playing after the play button is pressed). Until the SDK 3.2

Building it against SDK 4.0 I noticed that the audio plays and the label minutes:seconds updates itself every second. But when I press the home button, this happens: audio stops playing but the label keeps updating it. In addition, when I resume the app, the audio is playing NOT from the point where the app was exited, but from that point plus the interval between pressing the home button to exit and relaunch of app. This makes a lot of app unusable, unless one does not correct them.

So, my question: what happens if I build apps like that against 3.1.3 for example and someone use them with iOS4? The behavior explained before will happen just to those apps built against 4.0 or all of my apps are now unusable?

Thanks!