Answer the question
In order to leave comments, you need to log in
How to use Apple's speech recognition?
I found an interesting option for using voice control for my application:
www.engadget.com/2011/11/23/in-which-i-use-siri-to...
As I understand it, the author hides the standard keyboard, activates its voice input and parses the entered text.
How can I enable voice input programmatically without touching the button? How to mask the keyboard?
Answer the question
In order to leave comments, you need to log in
In general, if someone wants to stir something up - see here:
https://github.com/jojonki/iOS-googleTTS/tree/mast...
You are trying to do everything somehow wrong. This application will not be allowed into the store anyway, why then limit yourself to public Api. Look in the private api for the opportunity to interact with Siri (I'm sure they exist)
Here, for example, activating Siri
- (BOOL)activateVirtualAssistant{
if ([%c(SBAssistantController) preferenceEnabled]) {
if ([%c(SBAssistantController) shouldEnterAssistant]) {
SBAssistantController *assistant = (SBAssistantController *)[%c(SBAssistantController) sharedInstance];
if (assistant.assistantVisible)
[assistant dismissAssistant];
else {
[(SpringBoard *)UIApp activateAssistantWithOptions:nil withCompletion:nil];
return YES;
}
}
}
return NO;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question