siri

How do I programmatically make the “dictate” keyboard key be pressed in iOS (Objective C)

≯℡__Kan透↙ 提交于 2019-12-11 10:46:12
问题 I need to make the "dictate" microphone is the iPhone 4S be programmatically pressed, is this possible? 回答1: No, you cannot control Siri from any public API. 回答2: It is possible, you just will not be able to upload it to the AppStore, since you would have to use non-public APIs. 来源: https://stackoverflow.com/questions/8732252/how-do-i-programmatically-make-the-dictate-keyboard-key-be-pressed-in-ios-obj

How to provide some action to Siri shortcuts app?

狂风中的少年 提交于 2019-12-11 06:06:18
问题 From that question How to customise SiriKit intent extension for shortcuts app to ask allow access? I found out that some actions (for well-known apps) are provided by shortcuts app itself, so how can I provide for shortcuts app my own actions to my web service? How can I publish some web service action to my app for shortcuts library actions? 来源: https://stackoverflow.com/questions/58054290/how-to-provide-some-action-to-siri-shortcuts-app

How to tell if Siri is active during app use

梦想的初衷 提交于 2019-12-10 17:11:34
问题 I have an audio app, and when AVAudioSessionRouteChangeNotification comes on, the app configures AV and tests for headphone use and such. However, Siri activates the AVAudioSessionRouteChangeNotification , but because of the AV configuration, Siri isn't able to be used by the user (the microphone doesn't work for her, it seems.) Is there a way to find out if Siri is the thing causing the AVAudioSessionRouteChangeNotification , so that I don't call the method to configure AV if it's Siri and

Is it possible to have Siri perform a task / action in my App?

无人久伴 提交于 2019-12-10 16:50:00
问题 With the release of iOS 5, and more specifically 'Siri', is it possible to have that Application perform an action / task in one of my Apps? In other words, I have read here that the App integrates with Fandango to order movie tickets. So, how could I register an event / function of my App with Siri so that it performs a task? For arguments sake, lets pretend my App also sells movie tickets like Fandango .. why do they get to have all of the fun? 回答1: From your linked text Google+ and Apple's

How to make Siri launch app on specific keyword?

久未见 提交于 2019-12-10 14:09:52
问题 When I say "Translate English to Spanish" Siri opens the app Google Translate. How does Siri know to launch this app and is it possible to register your app for certain keywords with Siri? 回答1: Usually you can open an app telling Siri something like: "Open [APP NAME]" My guess In your case I guess Siri is not interpreting the sentence. When you say Translate English to Spanish Siri does try to understand what action should take and since no action with an hight Matching Rate is found then

Siri shortcuts iOS 13 bug INUIAddVoiceShortcutButton

百般思念 提交于 2019-12-10 11:13:18
问题 In my project I use siri shortcuts with INUIAddVoiceShortcutButton . I use this method to create the button and associate the NSUserActivity : let button = INUIAddVoiceShortcutButton(style: .blackOutline) view.addSubview(button) button.shortcut = INShortcut.userActivity(activityPreCreated) In iOS 12 all works right, the button add or edit the shortcuts. But in iOS 13 the button only add but doesn't edit the shortcut and remain with the text "Add to Siri". Is a bug of the beta or I do

Determining whether iOS application was launched via Siri

谁说我不能喝 提交于 2019-12-09 14:46:01
问题 I've been looking forever, but haven't found… Do you know if there's a way to determine whether my iOS app was launched by Siri or by the user tapping the app icon? I need to know because I want to automate a startup action only when my app is launched from Siri. I was thinking that maybe application:didFinishLaunchingWithOptions or some other API would allow my app to know how it was launched, but that doesn't seem to be the case (or I just missed it). Any idea if there's some trick

Is there any way to monitor user's movement of iphone like the “raise to speak” feature?

大兔子大兔子 提交于 2019-12-09 06:35:19
问题 I want to get notified when the user raises the iphone to his face. Just like siri does. Is it possible? Add more specific requirement: I want to darken the screen when user put the phone near his ear. I know the Proximity Sensor can be enable to implement this. But it's annoying that the screen will be darkened from time to time when user moves the finger upon the sensor. So I wonder how to avoid this case and only darken the screen when user raise the iphone to speak? 回答1: See Using the

Access Siri through iphone app

心不动则不痛 提交于 2019-12-08 04:51:03
问题 I am making an app in which I want to implement the concept of Siri/Voice recognition. I have tried this but did not get the output exactly it is not recognizing the word properly. Anyone has an idea that how to convert speech into text? How to access Siri functionality. If anyone know about this implementation then please let me know. Thanks to all. 回答1: You can't access Siri features, Apple didn't provide public API for Siri :-S . The best APIs I've seen is the openears and Dragon Mobile

Siri shortcuts iOS 13 bug INUIAddVoiceShortcutButton

空扰寡人 提交于 2019-12-06 11:04:08
In my project I use siri shortcuts with INUIAddVoiceShortcutButton . I use this method to create the button and associate the NSUserActivity : let button = INUIAddVoiceShortcutButton(style: .blackOutline) view.addSubview(button) button.shortcut = INShortcut.userActivity(activityPreCreated) In iOS 12 all works right, the button add or edit the shortcuts. But in iOS 13 the button only add but doesn't edit the shortcut and remain with the text "Add to Siri". Is a bug of the beta or I do something wrong? Thanks in advance. 来源: https://stackoverflow.com/questions/57410172/siri-shortcuts-ios-13-bug