O'Reilly logo

Head First iPhone and iPad Development, 2nd Edition by Dan Pilone, Tracey Pilone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Camera, Map Kit, and Core Location: Proof in the real world

image with no caption

iOS devices know where they are and what they see.

As any iPhone, iPod Touch, or iPad user knows, these devices go way beyond just managing data: they can also take pictures, figure out your location, and put that information together for use in your app. The beauty of incorporating these features is that just by tapping into the tools that iOS gives you, suddenly you can import pictures, locations, and maps without much coding at all.

For Bob, payment requires proof

Bob is working hard on getting as many fugitives off the street as he can, but to get paid he has to document his captures.

image with no caption

That should be easy enough.

Bob wants a picture of his catch and he’s going to need it to be pretty big—so let’s go ahead and put it on its own view.

Those pictures will be great for advertising too, not to mention that it will speed up payment!

Flip over for the detail view

We can use a built-in animation for some nice usability ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required