开发者

How to play 'tap' sound on button 'Touch Up Inside' action in Cocoa?

I have an IBAction in my viewController and i want to play the iPhone tap sound on every call os this IBAction.

Is there any way to do this with sysyem sound or do i have to put an MP3 inside the app?

What's the best way开发者_如何学编程 to do this on code?


You will need to provide your own audio file and use iOS System Sound Services.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜