how to make iphone shake
来源:互联网 发布:新开的超市怎录入数据 编辑:程序博客网 时间:2024/06/10 20:03
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);
needed to change an iphone setting .
For sounds , had vibrate turned off.
change vibrate to ON under sounds
- how to make iphone shake
- How to Make an HTML5 iPhone App
- How to Make an HTML5 iPhone App
- How To Make Successful iPhone App
- How To Make A Simple iPhone Game with Cocos2D Tutorial
- How To Make A Simple iPhone Game with Cocos2D Tutorial
- How To Make a Simple iPhone Game with Flash CS5
- How to make makefile!
- How To Make KeyGens
- How to Make Dialogs
- how to make presentation
- How to Make Dialogs
- How to Make Dialogs
- detect iphone shake
- [cocos2d 教程转载]How To Make A Simple iPhone Game with Cocos2D Tutorial
- Rotating Turrets: How To Make A Simple iPhone Game with Cocos2D Part 2
- Harder Monsters and More Levels: How To Make A Simple iPhone Game with Cocos2D Part 3
- raywenderlich-How To Make A Simple iPhone Game with Cocos2D Tutorial
- 老鼠大脑中神经系统类似互联网结构
- TextBox中去掉边框、asp.net中实现行间距的代码
- 一个简单的Java计算器实现
- 《深入浅出MFC》——窗口的生命周期
- 编译linux内核3.0
- how to make iphone shake
- hdu acmstep 1.3.7 贪心
- 邻接矩阵构造图
- 微软公司面试题
- 树状数组区间求和三种模型
- java注解 1
- Apusic AS下如何正确设置solr
- 《深入浅出MFC》——消息映射(Message Map)的雏形
- 侵入,无侵入? Annotation vs Interface