An identifier for a focus-related sound.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- UIKit
Declaration
struct UIFocusSoundIdentifier
Overview
To assign an identifier to a custom sound file, call the register(_:
method of UIFocus
.,
An identifier for a focus-related sound.
SDKs
Framework
struct UIFocusSoundIdentifier
To assign an identifier to a custom sound file, call the register(_:
method of UIFocus
.,
static let `default`: UIFocus Sound Identifier
The identifier for the default system sound to play during focus updates.
static let none: UIFocus Sound Identifier
The identifier for disabling sound during a focus update.
Customize the sounds users hear when focus moves.
func sound Identifier For Focus Update(in: UIFocus Update Context) -> UIFocus Sound Identifier?
Asks the delegate for the identifier of the sound to play when the object gains focus.