how to run vibrate continuously in iphone?

后端 未结 4 423
隐瞒了意图╮
隐瞒了意图╮ 2020-12-28 10:46

In my application I\'m using following coding pattern to vibrate my iPhone device

Include: AudioToolbox framework

Header File:

#         


        
4条回答
  •  被撕碎了的回忆
    2020-12-28 11:16

    There are numerous examples that show how to do this with a private CoreTelephony call: _CTServerConnectionSetVibratorState, but it's really not a sensible course of action since your app will get rejected for abusing the vibrate feature like that. Just don't do it.

提交回复
热议问题