Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / (code snippet) vibrate iphone

Author
Message
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 7th Nov 2011 20:26
In your template.cpp file you can use this line of code below to vibrate your iphone.

You need to make sure the AudioToolbox.framework is present which is already included in the template project.

AudioServicesPlaySystemSound (kSystemSoundID_Vibrate);


chunks

nvidia geforce 9500gt + amd athlon 64
windows vista ultimate.
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 8th Nov 2011 04:40
Thank you!

give my best

Login to post a reply

Server time is: 2024-04-28 19:13:50
Your offset time is: 2024-04-28 19:13:50