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

Chapter 4. A Picture Speaks a Thousand Words

In this chapter, we will cover:

  • Choosing an icon image for the application
  • Specifying a splash image
  • Displaying an image inside a container
  • Creating a grid with images
  • Creating a carousel for images
  • Rotating images
  • Scaling an image by applying animations
  • Taking and displaying pictures
  • Drawing geometric figures
  • Applying colors
  • Working with gradients
  • Adding an activity indicator

Introduction

Undoubtedly, images and graphics are very important for the user interface of any kind of application. Web applications for iPhone aren't an exception. In fact, we can use many different kinds of images, from photos taken with the iPhone's camera, to geometric figures, or even maps.

This chapter focuses on how to use graphics and ...

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