Using iPhone by default. An alarm sounds in the application.

Possible duplicate:
Play an alert sound (same as default ringtone)

Hello everybody,

Quick question - Is it possible to use one of the standard sounds included in the iPhone - Marimba, etc. In the iPhone app?

Thanks,
Thea

+2
source share
1 answer

Actual directories will only be available after JailBreak.

Ringtones (including Marimba):

/Library/Ringtones/ 

System sounds:

 /System/Library/Audio/UISounds/ 

Or use "AudioServicesPlaySystemSound ()", as mentioned by Black Frog.
Note. This method is undocumented and will lead to rejection of the AppStore.

Download link for system sounds (comment from clusterfu_k):
Can I get default audio files for Iphone (marimba, alarm, ascending, ...)?
Note. Possible copyright infringement.

+6
source

Source: https://habr.com/ru/post/926183/


All Articles