SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
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, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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...
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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?