Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set iOS system alert sounds as push notification sound like Whatsapp does

I'm aware of Apple documentation about setting custom push notification sound for iOS from here. They said you can set sounds that are located either in app's main bundle or in Library/Sounds folder from app's data container.

However, as can be seen in the images below, WhatsApp for iOS allows the user to select sounds that are the same as alert system sound for iOS, for example, popcorn, circles and so on.

WhatsApp settings

WhatsApp sounds list

My question is, is there a way to use system sounds for push notifications alert or WhatsApp just copy/paste the same sounds to its main bundle?

like image 545
Rodrigo Morbach Avatar asked Oct 31 '22 03:10

Rodrigo Morbach


1 Answers

As far as I know, you have to just copy/paste the same sounds to your app's main bundle. However, be careful about the legal issues of the sounds you use. There is also a question's answer here where you might find how to do it.

like image 143
Burak Avatar answered Nov 15 '22 05:11

Burak