Summary
This chapter introduces core ways to interact with an iOS device. You have seen how to recover device info, check the battery state, and subscribe to proximity events. You have learned how to differentiate the iPod touch from the iPhone and iPad and determine which model you’re working with. You have discovered the accelerometer and have seen it in use in several examples, from the simple “finding up” to moving onscreen objects and shake detection. You have jumped into Core Motion and learned how to create update blocks to respond to device events in real time. You have also seen how to add external screen support to your applications. Here are a few parting thoughts about the recipes you just encountered:
Low-level calls can be App ...
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.
Read now
Unlock full access