Snippet: Playing a System Sound

If you are using ARC see: “Playing a System Sound (ARC Version)”.

Today I needed to add a simple beep sound to an app. The code snippet below shows all the relevant calls.

If I had found a page with a snippet like this on it it would have saved me some time. Maybe this page will save you some!

About idz

A professional software engineer dabbling in iOS app development.
This entry was posted in Code Snippets and tagged , , , . Bookmark the permalink.

3 Responses to Snippet: Playing a System Sound

  1. Pingback: Snippet: Playing a System Sound (ARC Version) | iOS Developer Zone

  2. Pingback: MonoTouch Play System Sound | Jisku.com - Developers Network

  3. Pingback: How to play a System Sound on the iPhone/iPad? | TechwikiHow

Leave a Reply