Tag: playsSound
1 post
Tag: playsSound
1 post
There is another accessibility trait: .playsSound, that does a similar thing than .startsMediaSession. This one seems more suitable for buttons that have their own sound effects when interacting with them, like it often happens in games.
All Tags
AccessibilityAccessibility InspectorAccessibility ModifiersAppleAssistiveTouchAudio GraphsBold TextClassic InvertDynamic TypeFull Keyboard AccessGAADGAAD2022GAAD22HIGHuman Interface GuidelinesIncrease ContrastInterface BuilderLarge Content ViewerLarger TextMagnifierNSSpainXReduce MotionRotorScreen CurtainSmart InvertSpeak ScreenSwiftUISwitchSwitch ControlUIAccessibilityUIAccessibilityCustomActionUIKeyCommandUIKitUISwitchVoice ControlVoiceOverWWDCWWDC22WWDC23XcodeZooma11ya11yTOconfaccessibility identifieraccessibilityActionaccessibilityActivationPointaccessibilityAdjustableActionaccessibilityChildrenaccessibilityContaineraccessibilityElementaccessibilityElementsaccessibilityElementsHiddenaccessibilityFrameaccessibilityIdentifieraccessibilityIgnoresInvertColorsaccessibilityLabelaccessibilitySpeechIPANotationaccessibilitySpeechPitchaccessibilitySpeechPunctuationaccessibilitySpeechSpellOutaccessibilityTraitsaccessibilityUserInputLabelsaccessibilityValueaccessibilityViewIsModaladjustableallowsDirectInteractionhapticiOSiPadOSisModalisSearchFieldisSelectedisSummaryElementisTabBarkeyboardShortcutplaysSoundsimulatorspeechPitchstartsMediaSessionupdatesFrequentlyvisionOS