iOS: Is there a performance difference between using playInputClick vs the (1104) sound file with audio toolbox?

半腔热情 提交于 2019-12-06 10:25:54

Reason Apple recommended this is probably not performance. AudioServicesPlaySystemSound(1104) will probably always play the same sound but playInputClick may play another sound in the future if Apple decides to change the input click sound.

So they are the same right now but it might change and if it does your app will be the only one playing the old sound if you stick to use AudioServicesPlaySystemSound(1104).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!