How to check if the Live Captions (beats) feature is enabled on the phone.

Is there a way to programmatically detect if the Live Captions feature is enabled in the accessibility settings? I'm working on an app that delivers spoken tests to people. When that feature is on we are not able to reliably verify people's understanding of speech as the audio is transcribed to text.

I checked the accessibility doc but didn't find anything that fits. https://developer.apple.com/documentation/uikit/1615112-uiaccessibilityisclosedcaptionin?language=objc

Hello, you are correct that there is no API to check the Live Captions feature enablement. You should not rely on checking the user's settings in order to determine how your content should be delivered; instead, you should provide accommodations to all users and let them choose. For example, only providing spoken content without captions can make your app inaccessible to groups of people

How to check if the Live Captions (beats) feature is enabled on the phone.
 
 
Q