---
title: "AudioServicesPlaySystemSoundWithCompletion(_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audioservicesplaysystemsoundwithcompletion(_:_:)"
---

# AudioServicesPlaySystemSoundWithCompletion(_:_:)

## Declaration

```swift
func AudioServicesPlaySystemSoundWithCompletion(_ inSystemSoundID: SystemSoundID, _ inCompletionBlock: (() -> Void)?)
```

## See Also

### Playing Sounds

- [AudioServicesPlayAlertSoundWithCompletion(_:_:)](audiotoolbox/audioservicesplayalertsoundwithcompletion(_:_:).md)
- [AudioServicesPlayAlertSound(_:)](audiotoolbox/audioservicesplayalertsound(_:).md)
- [AudioServicesPlaySystemSound(_:)](audiotoolbox/audioservicesplaysystemsound(_:).md)
