Chapter    7

Smile!

Pictures and video are a big part of mobile apps. This is made possible by the amazing array of audio/video hardware built into most iOS devices. Your apps can take advantage of this hardware—and it’s not that difficult. Apple has made it exceptionally easy to present an interface where your user can take a picture, or choose an existing picture from their photo library, and use that image in your app.

In this chapter you’ll add pictures to MyStuff. You’ll allow a user to choose, or take, a picture for each item they own and display that image in both the detail view and the master list. In doing that, you’ll learn how to do the following:

  • Create a camera or image picker controller and display it
  • Retrieve the image the user ...

Get Learn iOS 8 App Development, Second 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.