Type Property


A policy that routes output to the shared long-form audio output.


static var longForm: AVAudioSession.RouteSharingPolicy { get }


A session whose primary use case is as a music or podcast player may use this value to play to the same output as the built-in Music (iOS), Podcasts, or iTunes (macOS) applications. All applications on the system that use this policy will have their audio routed to the same location.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software