How to make an iPhone App – Part 5: The Accelerometer

Yes, your iPhone has an accelerometer. I know this is not a physics class but the best way to define it is saying that it is a device to detect the magnitude and direction of acceleration. iDevices uses it to detect rotation, shake gestures, among others.

Y es, your iPhone has an accelerometer. I know this is not a physics class but the best way to define it is saying that it is a device to detect the magnitude and direction of acceleration. iDevices uses it to detect rotation, shake gestures, among others.

Read the full article at: How to make an iPhone App – Part 5: The Accelerometer

Topics touched:

  • Reading Accelerometer Data

  • Switching to Landscape Mode

The previos part is at: How to make an iPhone App – Part 4: Navigation Controller

Tags: , , , , , , , , ,

Software Engineer and iOS developer, from Caracas, Venezuela, with a tremendous weakness for hamburgers.

One Response to “How to make an iPhone App – Part 5: The Accelerometer” Subscribe

  1. Aakash January 31, 2011 at 6:06 AM #

    Your Posts are superb.. superb explanation and was a gr8 help to me in learning xcode.

    Thank you very much

Leave a Reply

 

Marketie – Build your brand on twitter


The last few weeks a friend and I have been working on an app to help people market their brand [...]

First Look: Foundation Framework


Foundation is a framework for prototyping flexible web pages quickly and for any devices. It was created by ZURB, a U.S. [...]

Cocos2D Tips: Performance: CCSprite


Older iDevices (previous to iPhone 3GS) used to store images in power-of-two sizes of length and width. This means that [...]

Guess who’s back?


People is reading less, that’s a fact!. So blogs with very long posts are almost obsolete, at least in the [...]

How to make an iPhone App – Part 4: Navigation Controller


Now that we know how to create a table views, we are going to use that knowledge to create a new project using a navigation controller to see a more detailed view of the tittle in the cell of the table view.

How to make an iPhone App – Part 3: Table Views

How to make an iPhone App - part 3 - table views icon

Table views are probably the most common control in iPhone apps. If you have used the Messages app, Mail app, Twitter app, between many others, then you know what i’m talking about. You may have seen them with just text, with a tittle and a description, with an image but they are all table views.