Post

Replies

Boosts

Views

Activity

Need help requesting authorization to use personal voice in tts app
So I have a tts app and I'm trying to add the new iOS 17 personal voice as an option. I'm stuck on how to request auth to use voice. Here's what I have so far: - (void)requestAuthorization { NSInteger row = [self.languagePicker selectedRowInComponent:0]; NSString *selected = [self.pickerData objectAtIndex:row]; self.languageChosen = selected; if ([self.languageChosen isEqualToString:@"Personal"]) { AVSpeechSynthesizer requestPersonalVoiceAuthorizationWithCompletionHandler:<#^(AVSpeechSynthesisPersonalVoiceAuthorizationStatus status)handler#> } } I don’t know what to do after "requestPersonalVoiceAuthorizationWithCompletionHandler:" any help will be really appreciated.
2
0
628
Aug ’23
iOS 18 isn't an option to run my app in simulator - xcode 16 beta
what could be the reason? i open my app in xcode 16. build completes successfully. i am only given the options to simulate in iOS 17, 17.2 or 17.5. none of the devices show the option to run in iOS 18. but i am able to go into the simulator and through file and open the iOS 18 simulator. just not able to run my app in there. my app is set in xcode to run with a minimum of iOS 16. any ideas?
1
1
4k
Jun ’24