using System; using AudioToolbox; namespace Other { public class PlaySystemRingtone { public PlaySystemRingtone() { } public void Play() { // 1007 是短信提示音的系统声音 ID SystemSound systemSound = new SystemSound(1007); systemSound.PlaySystemSound(); } } }