Disable iPhone vibrate with Setting Bundle [iPhone SDK] -


I am creating an app, now I am pushing the bundle while setting the bundle of iPhone and moving I want

  AudioServicesPlaySystemSound (kSystemSoundID_Vibrate); Setting bundle:  

Title: Vibration / / / / Key: dis_vib //// Type: PSToggleSwitchSpecifier

Before calling vibration codes, check to see what NSUserDefaults are called.

For example:

  if ([[NSUserDefaults StandardUserDefaults] boolForKey: @ "ShouldVibrate"]) {// Vibrate Code}  

Where settings should be "where should" is the bundle setting.


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -