objective c - Possible to use Apple system sounds in my iOS app? -
can use system sounds in ios app? i'm looking have same list used in default timer app (marimba, alarm, doorbell etc).
reason i'm asking in apple's own multimedia docs says:
note: system-supplied alert sounds , system-supplied user-interface sound effects not available application. example, using ksystemsoundid_userpreferredalert constant parameter audioservicesplayalertsound function not play anything.
then i've come across this list of system sound id's.
so can use access , use these sounds in own apps pass apple's review process? if not similar sounds available open source?
actually if use audiotoolbox/audiotoolbox.h framework , import in header file view controller, can play apple system sounds without jailbreaking. example, putting
audioservicesplaysystemsound(0x450);
under ibaction play apple 'click' sound on execution of action.
also, hear system sounds referenced earlier, there great app available on github works on iphone (not ios simulator) has sounds click , hear, documentation references them, cannot hear them. app nice listen , find corresponding reference number.
Comments
Post a Comment