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.
精彩评论