在iOS中生成自定义振动

时间:2013-07-11 07:43:26

标签: iphone ios ipad ipod vibration

我有一个制作自定义振动的应用程序。即改变强度和持续时间。我开始知道这可以使用AudioToolBox Framework的一个私有函数来完成。 功能详情:

void AudioServicesPlaySystemSoundWithVibration(SystemSoundID inSystemSoundID,id arg,NSDictionary* vibratePattern)

本文介绍了如何使用该函数的方法: Are there APIs for custom vibrations in iOS?

我的问题是:

正如在上面的帖子中的一条评论中所述,这是否可以使用此功能并让Apple批准您的应用程序。或者可以肯定这会被Apple拒绝吗?

0 个答案:

没有答案