Tutorial details

Vibrate Device | App Code for Sale | Preview

Vibrate Device | iOS Tutorial

How to vibrate your device

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodevibratedevice.htm

In this tutorial i will be showing you how to vibrate your device

Features:

  • 1 Round rect button

Vibrating your device makes a huge impact on your app wether the user did something wrong and your warning them or there playing a game and the device vibrates on the users input to the game which makes your apps more exciting and more enjoyable

ViewController.h PAGE TOP

@interface ViewController :UIViewController {
}
-(IBAction)Vibrate;
@end

ViewController.m PAGE TOP

#import "AudioToolbox/AudioToolbox.h"
@implementation ViewController
-(IBAction)Vibrate {
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}
@end

Reference PAGE TOP

http://www.geekylemon.com/WEBPROTECT-xcodevibratedevice.htm

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.