Get Updates By E-mail 

Subscriber Counter
Article Written By:
Johann Dowa

3 Very Useful Accelerometer And Vibration Code Snippets

The accelerometer can be one of the more confusing iPhone features to program. The input generally to be filtered, generally needs quite a bit of tweaking, and I’ve found that many people simply want too much out of the accelerometer.

The compass addition allows you to take it to a level beyond the original iPhone, but reliable reading of complex gestures are still out of the question.  That being said it is a cool feature, and can add another level of interactivity to your apps. Kevin Bomberry from Able Pear Software has written a great post with some very useful code snippets for those wishing to add simple accelerometer usage, and vibration to their apps.

The snippets allow you to easily implement shaking, vibration, and a combination of the two in your apps.  The article can be found here entitled:  iPhone SDK Shake, Rattle, and Roll.

Thanks for reading, please leave any comments below.

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments