Bartłomiej Semańczyk
Bartłomiej Semańczyk

Reputation: 61880

How to get default SystemSoundID within iOS app?

This is how I play sound:

var soundID: SystemSoundID = 1016
AudioServicesPlaySystemSound(soundID)

But this is not default system sound set by user. Is there a way to get the one assigned by user to respect its choice?

Upvotes: 2

Views: 4323

Answers (1)

ipraba
ipraba

Reputation: 16553

There is NO API to get the user selected system sound.

In case if you want to access any specific sound files you can go through this list for the Sound Id's.

Upvotes: 3

Related Questions