A Boolean value that indicates whether the movie player should use the app’s audio session.
- iOS 6.0–9.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- Media Player
The default value of this property is
YES. Setting this property to
NO causes the movie player to use a system-supplied audio session with a non-mixable playback category.
When this property is
YES, the movie player shares the app’s audio session. This give you control over how the movie player content interacts with your audio and with audio from other apps, such as the iPod. For important guidance on using this feature, see Audio Session Programming Guide in Audio Session Programming Guide.
Changing the value of this property does not affect the currently playing movie. For the new setting to take effect, you must stop playback and then start it again.
In iOS 3.1 and earlier, a movie player always uses a system-supplied audio session. To obtain that same behavior in iOS 3.2 and newer, you must set this property’s value to