How to find the ID of less common system sounds?

208 views Asked by At

Using this code you can play one of the more common system sounds:

let systemSoundID: SystemSoundID = 1003
AudioServicesPlaySystemSound(systemSoundID)

However, there are a lot of great sounds for your UI built into IOS that you find on these kind of paths:

/System/Library/Audio/UISounds/nano/Detent_Haptic.caf

So, how do you go about finding the ID of these sounds?

0

There are 0 answers