Table of Contents
Accessing Basic Device Information
Adding Device Capability Restrictions
Recipe: Checking Device Proximity and Battery States
Recipe: Recovering Additional Device Information
Recipe: Using Acceleration to Locate “Up”
Working with Basic Orientation
Retrieving the Current Accelerometer Angle Synchronously
Recipe: Using Acceleration to Move Onscreen Objects
Recipe: Accelerometer-Based Scroll View
Recipe: Retrieving and Using Device Attitude
Detecting Shakes Using Motion Events
Recipe: Using External Screens
One More Thing: Checking for Available Disk Space
Get The Advanced iOS 6 Developer’s Cookbook, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.