如何玩UILocalNotificationDefaultSoundName?

时间:2013-06-17 21:16:01

标签: ios uilocalnotification

我正试图找到一种播放默认通知声音的方法,我不能:) 我的意思是只播放(AVAudioPlayer,AudioToolbox,e.t.c。)这个声音。 有人可以帮忙吗? :)

1 个答案:

答案 0 :(得分:0)

如果您希望jus播放默认声音以供通知使用:

AudioServicesPlaySystemSound(1315);

以下链接是系统声音代码列表 http://iphonedevwiki.net/index.php/AudioServices