2

i want to play default notification sound of device in my app.

currenlty i am using following code but this is not actual notification sound.

        let systemSoundID: SystemSoundID = 1315
        AudioServicesPlaySystemSound (systemSoundID)

if possible to play sound without SystemSoundID. it will be good. becuse SystemSoundID play specific sound.

0 Answers0