SlideShare une entreprise Scribd logo
1  sur  18
iOS Multitasking is a lie. And that’s totally fine.
Hi! I’m James Jennings. iPhone Developer james@mobiledistortion.com @jamesjennings
“Traditional” Multitasking What is it? Multiple programs sharing computer resources
“Traditional” Multitasking So why are phones special? Limited Resources Processor Battery
“New!” iOS 4 Multitasking is a lie. It’s not new It’s not multitasking
“New!” iOS 4 Multitasking Yeah, it’s not new. iOS has always been “Unix-like” Examples Mail sending/receiving iPod App downloading Oh and the phone
“New!” iOS 4 Multitasking What is referred to as “Multitasking” in Apple’s agitprop is really just: Fast Switching Handful of OS hooks providing limited support for background execution of code
Who is worthy of iOS 4 & Multitasking? ,[object Object],[object Object]
Fast Switching The “Task Bar” Apps aren’t directly terminated in iOS 4 “Freeze Dried” state information saved
Fast Switching Apps can opt out Apps can be kicked out App is on Task Bar != App is eligible for fast switching
Location Tracking 3 Options Normal AGPS Significant Location Changes Region Tracking (iPhone 4 only) App developers must be aware of performance implications
Audio Background audio, like native iPod Access to player controls
VoIP App can listen on network for incoming VoIP calls Must use local notification to let user know
Task Completion App can declare certain blocks of code as critical, which will continue to be executed even after app is terminated Example in pre-iOS4 Mail App can’t run itself indefinitely however, hard time limit enforced App can declare cleanup code if it’s terminated
Local Notifications Not really part of the “Multitasking” umbrella, available to all iOS 4 devices Utilized by multitasking apps, however
Summary “Multitasking” has always existed in the technical sense on the iPhone platform The new multitasking in iOS 4 is a specific set of services and hooks Some features are automatic, others must be implemented
Thank you! Any questions?
IOS multitasking is a lie, and that's totally fine.

Contenu connexe

Tendances

Socialisation networks 1
Socialisation networks 1Socialisation networks 1
Socialisation networks 1
Dileep Pradeep
 
iPhone Apps Development Services
iPhone Apps Development ServicesiPhone Apps Development Services
iPhone Apps Development Services
LlucyWilliams
 
Start printing sound!
Start printing sound!Start printing sound!
Start printing sound!
WAN-IFRA
 

Tendances (20)

More Than Calling And Texting!
More Than Calling And Texting!More Than Calling And Texting!
More Than Calling And Texting!
 
App v. Web
App v. WebApp v. Web
App v. Web
 
Ayşegül fırat 20112574 eng204
Ayşegül fırat 20112574 eng204Ayşegül fırat 20112574 eng204
Ayşegül fırat 20112574 eng204
 
Iphone 5g
Iphone 5gIphone 5g
Iphone 5g
 
Excellent iphone tips that are simple and anyone can use
Excellent iphone tips that are simple and anyone can useExcellent iphone tips that are simple and anyone can use
Excellent iphone tips that are simple and anyone can use
 
Enjoying Your Unique IPhone
Enjoying Your Unique IPhoneEnjoying Your Unique IPhone
Enjoying Your Unique IPhone
 
iOS Features To Include When Developing IPhone Application
iOS Features To Include  When Developing  IPhone ApplicationiOS Features To Include  When Developing  IPhone Application
iOS Features To Include When Developing IPhone Application
 
Corby - AI Core Banking Bot
Corby - AI Core Banking Bot Corby - AI Core Banking Bot
Corby - AI Core Banking Bot
 
Steve jobs iphone launch 2007
Steve jobs iphone launch 2007Steve jobs iphone launch 2007
Steve jobs iphone launch 2007
 
Testing Next Generation Digital Interfaces
Testing Next Generation Digital InterfacesTesting Next Generation Digital Interfaces
Testing Next Generation Digital Interfaces
 
TechWell StarEast 2018 Next Generation interfaces
TechWell StarEast 2018 Next Generation interfacesTechWell StarEast 2018 Next Generation interfaces
TechWell StarEast 2018 Next Generation interfaces
 
Socialisation networks 1
Socialisation networks 1Socialisation networks 1
Socialisation networks 1
 
iPhone Apps Development Services
iPhone Apps Development ServicesiPhone Apps Development Services
iPhone Apps Development Services
 
I Phone Session Mufix
I Phone Session MufixI Phone Session Mufix
I Phone Session Mufix
 
Don1
Don1Don1
Don1
 
Hudl Stands
Hudl StandsHudl Stands
Hudl Stands
 
Iphone 4s
Iphone 4sIphone 4s
Iphone 4s
 
Start printing sound!
Start printing sound!Start printing sound!
Start printing sound!
 
Tạp trí Internet Marketing Số 06 Nov-Dec 2011
Tạp trí Internet Marketing Số 06 Nov-Dec 2011Tạp trí Internet Marketing Số 06 Nov-Dec 2011
Tạp trí Internet Marketing Số 06 Nov-Dec 2011
 
iPhone OS in Indonesia
iPhone OS in IndonesiaiPhone OS in Indonesia
iPhone OS in Indonesia
 

Similaire à IOS multitasking is a lie, and that's totally fine.

Iphone application developement seminar
Iphone application developement seminarIphone application developement seminar
Iphone application developement seminar
Niraj Narkhede
 
The future of the mobile web
The future of the mobile webThe future of the mobile web
The future of the mobile web
Peter-Paul Koch
 
M1 - Ios 7 v windows 8.1
M1 - Ios 7 v windows 8.1M1 - Ios 7 v windows 8.1
M1 - Ios 7 v windows 8.1
JamesColwell
 
Group presentation 2
Group presentation 2Group presentation 2
Group presentation 2
michaelmwmc
 
Establishing An Enterprise Mobile Practice by Ron McCamish
Establishing An Enterprise Mobile Practice by Ron McCamishEstablishing An Enterprise Mobile Practice by Ron McCamish
Establishing An Enterprise Mobile Practice by Ron McCamish
karch15
 

Similaire à IOS multitasking is a lie, and that's totally fine. (20)

Iphone application developement seminar
Iphone application developement seminarIphone application developement seminar
Iphone application developement seminar
 
Introduction to ios
Introduction to iosIntroduction to ios
Introduction to ios
 
Ios operating system
Ios operating systemIos operating system
Ios operating system
 
iPhone Dev Camp Keynote
iPhone Dev Camp  KeynoteiPhone Dev Camp  Keynote
iPhone Dev Camp Keynote
 
iPhone Dev Camp Keynote
iPhone Dev Camp KeynoteiPhone Dev Camp Keynote
iPhone Dev Camp Keynote
 
iPhoneDevCamp Keynote
iPhoneDevCamp KeynoteiPhoneDevCamp Keynote
iPhoneDevCamp Keynote
 
Ios operating system
Ios operating systemIos operating system
Ios operating system
 
The future of the mobile web
The future of the mobile webThe future of the mobile web
The future of the mobile web
 
Apple Iphone 5
Apple Iphone 5Apple Iphone 5
Apple Iphone 5
 
M1 - Ios 7 v windows 8.1
M1 - Ios 7 v windows 8.1M1 - Ios 7 v windows 8.1
M1 - Ios 7 v windows 8.1
 
Know Everything about iOS 11 Features
Know Everything about iOS 11 FeaturesKnow Everything about iOS 11 Features
Know Everything about iOS 11 Features
 
iOS Ecosystem @ Fiera del Radioamatore Pordenone
iOS Ecosystem @ Fiera del Radioamatore PordenoneiOS Ecosystem @ Fiera del Radioamatore Pordenone
iOS Ecosystem @ Fiera del Radioamatore Pordenone
 
I phone
I phoneI phone
I phone
 
Group presentation 2
Group presentation 2Group presentation 2
Group presentation 2
 
Opinosis Presentation @ Coling 2010: Opinosis - A Graph Based Approach to Abs...
Opinosis Presentation @ Coling 2010: Opinosis - A Graph Based Approach to Abs...Opinosis Presentation @ Coling 2010: Opinosis - A Graph Based Approach to Abs...
Opinosis Presentation @ Coling 2010: Opinosis - A Graph Based Approach to Abs...
 
Get to know the i os 5
Get to know the i os 5Get to know the i os 5
Get to know the i os 5
 
Establishing An Enterprise Mobile Practice by Ron McCamish
Establishing An Enterprise Mobile Practice by Ron McCamishEstablishing An Enterprise Mobile Practice by Ron McCamish
Establishing An Enterprise Mobile Practice by Ron McCamish
 
Devcon 5 html vs native
Devcon 5 html vs nativeDevcon 5 html vs native
Devcon 5 html vs native
 
iOS development made easy
iOS development made easyiOS development made easy
iOS development made easy
 
Jail breaking
Jail breakingJail breaking
Jail breaking
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

IOS multitasking is a lie, and that's totally fine.

  • 1. iOS Multitasking is a lie. And that’s totally fine.
  • 2. Hi! I’m James Jennings. iPhone Developer james@mobiledistortion.com @jamesjennings
  • 3. “Traditional” Multitasking What is it? Multiple programs sharing computer resources
  • 4. “Traditional” Multitasking So why are phones special? Limited Resources Processor Battery
  • 5. “New!” iOS 4 Multitasking is a lie. It’s not new It’s not multitasking
  • 6. “New!” iOS 4 Multitasking Yeah, it’s not new. iOS has always been “Unix-like” Examples Mail sending/receiving iPod App downloading Oh and the phone
  • 7. “New!” iOS 4 Multitasking What is referred to as “Multitasking” in Apple’s agitprop is really just: Fast Switching Handful of OS hooks providing limited support for background execution of code
  • 8.
  • 9. Fast Switching The “Task Bar” Apps aren’t directly terminated in iOS 4 “Freeze Dried” state information saved
  • 10. Fast Switching Apps can opt out Apps can be kicked out App is on Task Bar != App is eligible for fast switching
  • 11. Location Tracking 3 Options Normal AGPS Significant Location Changes Region Tracking (iPhone 4 only) App developers must be aware of performance implications
  • 12. Audio Background audio, like native iPod Access to player controls
  • 13. VoIP App can listen on network for incoming VoIP calls Must use local notification to let user know
  • 14. Task Completion App can declare certain blocks of code as critical, which will continue to be executed even after app is terminated Example in pre-iOS4 Mail App can’t run itself indefinitely however, hard time limit enforced App can declare cleanup code if it’s terminated
  • 15. Local Notifications Not really part of the “Multitasking” umbrella, available to all iOS 4 devices Utilized by multitasking apps, however
  • 16. Summary “Multitasking” has always existed in the technical sense on the iPhone platform The new multitasking in iOS 4 is a specific set of services and hooks Some features are automatic, others must be implemented
  • 17. Thank you! Any questions?