Apple Question:

Explain the functionality of accelerometer of an iphone?

Apple Interview Question
Apple Interview Question

Answer:

iPhone responds to motion using a built-in accelerometer.

The accelerometer detects the movement and changes the display accordingly, at the time of rotating iPhone from portrait to landscape.


Previous QuestionNext Question
Define the location services?Explain struct?