Contents

startsMediaSession

The accessibility element starts a media session when the user activates it.

Declaration

nonisolated static let startsMediaSession: UIAccessibilityTraits

Discussion

Use this trait to silence the audio output of an assistive app, such as VoiceOver, during a media session that you don’t want to interrupt. For example, you might use this trait to silence VoiceOver speech while the user is recording audio.

See Also

Constants