![]() |
|
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); not work - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Game Programming Fundamentals (/forum-7.html) +--- Thread: AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); not work (/thread-9370.html) |
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); not work - sefiroths - Sep 28, 2011 06:56 AM i have followed this steps: 1.Add the AudioToolbox framework to your target. 2. In the file you intend to trigger a vibration, import the AudioToolbox header file: #import <AudioToolbox/AudioToolbox.h> 3. Finally, call the following line to make the device vibrate: AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); nothing happen in my iphone4... ths system volume is at max volume... there is some settings that inhibits this function? thanks |