Enhance your app’s audio experience with AirPods


AirPods Automatic Switching for macOS

  • This is based on users Intent  with “now playing” registration and user activities.
  • AppStore apps support this by default
  • Best practices –
    • Your App should register for now playing if you are a media or long form app
    • Conference or gaming should not register for now playing
    • You  should use Audio Services API to avoid unexpected behavior
    • Conference apps should only enable microphone during the meeting and close it when the meeting session is done
    • You should select default rout to play audio, avoid playing silence if the user hits pause

Press to mute and unmute support in IOS17/macOS 14

  • Convenience being added by Press to Mute and UnMute by a simple press of the stem
  • All CallKit apps get this support by default.
  • To do this yourself just use AVAudioApplication to configure application wide audio behavior
  • On the macOS it works a little bit differently, however the app is responsible for muting any uplink audio when the gesture is performed.  There is additional API components you need to use.

Spatial Audio with AirPods

  • 80% of Apple Music listeners use spacial audio
  • Note the last two options don’t have API interface, it is enabled automatically for apps that register via Now Playing