Let app know when launched by Siri
| Originator: | claes.jacobsson | ||
| Number: | rdar://17567687 | Date Originated: | 05-Jul-2014 08:53 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | |
| Classification: | Reproducible: |
If an app is launched by another app we can extract the bundle name of the launching app from - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions. The value for key UIApplicationLaunchOptionsSourceApplicationKey gives us the bundle name of the launching app. However, when an app is launched by Siri launchOptions is empty. It would be great if we could somehow know that our app was launched by Siri (if we for example would like to enable voice commands in our app).
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!