tweak中震动的实现是 调用一个private API :AudioServicesPlaySystemSoundWithVibration Apple官方并没有这个函数的文档。搜索这个函数,出来最多就是are there apis for custom vibrations in ios。翻译部分内容: 其函数原型: void AudioServicesPlaySystemSoundWithVibration(SystemSoundID inSystemSoundID, id arg, NSDictionary* vibratePattern)