Skip to Content
The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition
book

The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition

by Erica Sadun
December 2009
Beginner to intermediate content levelBeginner to intermediate
888 pages
23h 33m
English
Addison-Wesley Professional
Content preview from The iPhone™ Developer’s Cookbook: Building Applications with the iPhone 3.0 SDK, Second Edition

14. Device Capabilities

Each iPhone device represents a meld of unique, shared, momentary, and persistent properties. These properties include the device’s current physical orientation, its model name, its battery state, and its access to onboard hardware. This chapter looks at the device from its build configuration to its active onboard sensors. It provides recipes that return a variety of information items about the unit in use. You read about testing for hardware prerequisites at runtime and specifying those prerequisites in the application’s Info.plist file. You discover how to solicit sensor feedback and subscribe to notifications to create callbacks when those sensor states change. This chapter covers the hardware, file system, and sensors ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The iOS 4 Developer’s Cookbook: Core Concepts and Essential Recipes for iOS Programmers

The iOS 4 Developer’s Cookbook: Core Concepts and Essential Recipes for iOS Programmers

Erica Sadun
Learning Cocoa with Objective-C, 4th Edition

Learning Cocoa with Objective-C, 4th Edition

Paris Buttfield-Addison, Jonathon Manning, Tim Nugent

Publisher Resources

ISBN: 9780321670168Purchase book