Post

Replies

Boosts

Views

Activity

Query AVSpeechSynthesisVoice for Quality>1 and Downloaded=True
I want to give the user the option for my text-to-speech app to use a voice that they choose - but when I call "AVSpeechSynthesisVoice.speechVoices()", I get a list of all possible voices. Each voice has properties like .gender, .quality and voiceTraits which provides isNoveltyVoice and .isPersonalVoice - but I can't seem to find a property that tells me whether the voice has been downloaded (and can be used) or not. How can I tell which voices the user has downloaded so I can present a list of what is currently available to use? Also - I know I can't download voices for the user - but am I able to use a deep link to pop open the correct place for the user to download the voices? (ie Settings->Accessibility->Spoken Content->Voices->English) Thanks in advance!
1
0
529
Mar ’24
Deep link to Accessibility->Personal Voice
My app speaks and offers the user the ability to use their Personal Voice - but if the user says "No" when I first ask them for permission to use their Personal Voice, I can never ask them again. So if they change their mind later - they have to go to Settings->Accessibility->Personal Voice to toggle the permission for my app. To make things easier for them, I would like to be able to pop open that page for them - but I don't know how to create the URL for it. Is it even possible? The closest I've been able to get is to open the settings page for my app (Settings->My App Settings) with: guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {return } if UIApplication.shared.canOpenURL(settingsUrl) { UIApplication.shared.open(settingsUrl) } Thanks in advance!
0
0
476
Mar ’24
ErrorCode=-7034 "Sign in with Apple" Not Working on Simulator - XCode 11.6, iPadMini 13.0
Since upgrading to XCode 11.6 earlier this week, "Sign in with Apple" doesn't work on any of my simulators. It worked before the upgrade and it STILL works on physical devices. I've tried with simulators v13.0 and v13.6 on iPad Mini 4 and iPad Air 3rd Gen and both failed. I've tried with iPad Pro 2 and iPad Mini 4 physical devices and both work. On a freshly erased/reset simulator, I am first prompted to sign in via "Settings" - and that succeeds - but upon returning to the app, after entering my Apple ID and Password, I see an error message reporting a failed login. This occurs on my own app as well as the sample "Juice" app. 2020-08-09 19:03:09.402574-0400 Juice[97346:888874] [core] Authorization failed: Error Domain=AKAuthenticationError Code=-7034 "(null)" UserInfo={AKClientBundleID=com.example.apple-samplecode.juiceGP########}
17
0
5.1k
Aug ’20