This video explains the new system best.
Apps will actually run in the background now. Previously they froze when you exited them.
Also, iOS 7 will learn which apps you use the most at certain times and will allow them to update in the background so they're ready for you when you go into them.
Oops. My bad. You're right.
An example: I use my camera alot. From what I understand, iOS 7 would notice this and keep it in RAM for me.
That's okay. Maybe just edit your post with the video link to make mention of that. I can then delete these followup posts.
That's not really multitasking. It's just better memory-management. And iOS has been doing this for quite some time.
I'm not sure what I think about the changes to background task completion. Does that mean, for example, if I send an email and quickly lock screen before it sends, it won't send until the next time I unlock?
Others pointed out that this is NOT the case. What iOS 7 will do is to allow those apps to update as in APP updates from the App store done in the background.
No, mail is allowed to finish it's task and then the phone will switch off.
Are you saying Mail specifically, or that this is the general concept with the new API? To change the example because first party apps may behave differently, say I'm sending a video in Whatsapp that takes a while to upload. If I did this in iOS 6, went to home screen and locked the phone before it finished, it could continue in the background. The video suggests in iOS 7 that as soon as the screen is locked, the background task is paused and the system goes to sleep.
If you could explain what I'm missing, that'd be great
A general concept. If you locked the screen then it would lock, but mail would be allowed to continue to send that message then enter a saved state.
If written with the new 7 API's then Whatsapp would also be allowed to finish it's task then enter the background saved state.
I'm can't recall the video, but as of iOS7 any app written to support it can be allowed to finish their task.
I'm more and more convinced I know better than you do now, sorry. iOS 6 already had background tasks. Whatsapp can already send that video message in the background. One of the changes in iOS 7 is the opportunistic nature of background tasks. So rather than waiting for the app to finish its background uploading (limited to a reasonable time) before going to sleep, as iOS 6 does, iOS 7 now pauses the task as soon as the screen is turned off. This then allows the phone to sleep soon after. If in 10 minutes you wake your phone again, the background task can continue. The idea is that it's more efficient to do this when the phone has to be powered up anyway because the user is interacting with it. Apps will still get more or less the same time to complete a task, but it won't necessarily be contiguous. Seems like a smart idea, but I worry about the number of times I send off a quick message and put the phone to sleep immediately expecting it to continue in the background. Sounds like it now won't complete until next time I wake it up.
I still think Mail will send the message in the background. I can test it. I do recall if the developer chooses to use one instance that as you said the app will take advantage to brief periods of being "on" and continue tasks.I have watched the video you linked to earlier and everything I'm saying is in response to it.
I have watched the video you linked to earlier and everything I'm saying is in response to it. Will rewatch it as I'm sure I missed something. Thanks for being patient.
I'm just trying to make sense of it all. There is too much to take in to be knowledgeable.
Right. Figured it out. What I said is only partially correct - it's correct for regular offline background tasks. So if your background task is to tidy up a few things in your app or whatever then yes, there is the potential for that task to be paused immediately when the screen is turned off whereas before it could continue for a bit longer.
But what iOS 7 allows for is another specific type of background task for transferring files. And this is more free than ever - it can continue when the app has exited, it isn't time limited, and so on. So those network transfer examples I gave (Mail and Whatsapp) both fall under this, and will be able to complete. Thanks for persisting with me!