9. Other New APIs
Calendar
Photos / Assets
Data Protection
Core Motion
SMS Compose
Core Telephony
Keyboards &
Displays
GCD & Blocks
10. Summary
Multitasking
What's it Mean?
Real Multitasking?
New in iOS4
Accelerate
UI Automation
Quick Look
AV Foundation
Other Stuff
Editor's Notes
Show Simulator! What used to happen? What happens now? Freebies: - Fast App Switching (screenshot) - Fast Launch - State Preservation Gotchas: - NOT Multitasking (usually) - Network Connections, Weather, Time Machine! - Killed without Termination! - Application Callbacks Time Limit!
Task Completion - Freebie: Finish stuff (uploading images) even after app closed - Gotcha: Take too long and get killed (don't launch fast) - Freebie: BeginBackgroundTaskWithExpirationHandler Background Audio - Freebies: mixing, ducking, remote controls, swipe controls, prioritize, work with headsets & speakers, ... VoIP - Freebies: audio stuff, Core Telephony (incoming calls), LAUNCHED ON DEVICE BOOT! Notification Services - Trade-off: Lower precision, lower power (cell tower) - Freebie: Local notification & relaunch/resume app - Gotcha: Need to specify in pList
In Code: Camera Access: White balance, focus, video frames, timestamps, ... iPod Library Access Video Capture, Editing, Playback, Processing Audio Mixing, Stereophonic Panning Re-encoding, Composition Precise Sound Syncing Sound Format, Sample Rate, Channels, ...