O'Reilly logo

iPhone JavaScript Cookbook by Arturo Fernandez Montoro

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

Taking and displaying pictures

You'll surely find it useful to use the camera of your iPhone. By default, a basic application is included with the phone that allows you to take pictures and save them automatically to the internal memory. You can then access your pictures through the Photo Library application.

However, it could be interesting to develop our own applications that can take and display pictures inside a container or other kind of element. For example, we can implement a feature for our application which allows taking and displaying pictures in a specific area of the screen delimited by a container element.

Most of the recipes in this book are focused on web applications instead of native applications. It is possible to build native ...

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