Is it possible to let Siri push button in swift app? - swift

Is it possible to ask Siri to push buttons in the app with the text to speech?
I mean, I have a calculator and pushing the button of "dictation" Siri should be able to understand to push + button instead of just write inside the lable the text.
Thank you!

Siri cannot be used inside apps. Moreover, you can only use Siri for handling intents that are part of the SiriKit framework, which is quite limited at the moment.
VoiceOver is perfectly capable of what you need to do. It was designed for navigating through an app with voice commands as part of the Accessibility framework.
The Speech framework as suggested by others is not available in watchOS and wasn't really designed for voice navigation.

You will need to use Speech framework for that. It would not be possible with Siri. You can go through Apple documentation for that.

Related

Emoji IOS keyboard in flutter

For showing emojies I am using emoji_picker package, but still emojies arn't IOS emojies. I want use IOS emojies. How can I do it?
Apple protected their emojis and fonts from being used on Android, and anywhere else for that matter, so I don't think there's any legal way to use them in your app. Even Whatsapp had to stop using them.
This article explains it.

Access Siri through iphone app

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.
You can't access Siri interface directly but there is nice trick to deal with Siri commands. You can implement UITextField and capture text which will be written there by Siri, that way you can make your app executing spoken commands.
You can find more explanation for that subject here:
Siri trick
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 SDK.

iOS Share Dialog?

I'm curious, is the standard "Share" dialog you see throughout a lot of iOS apps a standard SDK dialog or is everyone just mimicking the ones that Apple created for their apps like Safari? Or perhaps everyone is using ShareKit?
For instance, on iPhone you get a nice 3/4 modal dialog which does a vertical cover appearance, containing a bunch of shiny buttons:
While on iPad you see a "speech bubble" type dialog appear:
This seems too standard across apps to just be coincidence/people ripping off the look and feel.
The situation you presented in this specific case is caused by the fact that on iPad, the UIActionSheet is always presented within a popover controller, and on the iPhone it displays as in your example, withouth a Popover Controller (which is only available on the iPad)
I've written my own code for sharing using Facebook's SDK and the iOS5 Twitter integration so I've never used it but I believe there is a library you can use called ShareKit that will create the action sheets and sharing capability that you'd like. The "up-to-date"/"2.0" (I believe the original is no longer maintained) version is available here:
https://github.com/ShareKit/ShareKit
Apple provides the tools to make UI objects. The one you are looking at is "UIActionSheet".
Developers can bind methods to the tap events of the actionsheet.
Apple encourages developers to keep a consistent UI in order to make the overall use easier on the user.
Check out the Apple Human Interface Guidelines.
link

iphone speech to text and vice versa with siri

Now that we know that the iPhone has speech to text and text to speech capabilities, as demonstrated by Siri. Is this going to be an API available to developers? Has apple said anything about this?
Apple have not said anything about an API for Siri yet. Speech to text is implemented in iOS 5 in the form of a new button on the keyboard, so you can dictate chunks of text.
iPhone has had text-to-speech since at least the 3GS. And no, they haven't said anything about exposing an API.
If it's text-to-speech you're after, you might be tempted to license Nuance's voice "Samantha", which is the same as the US Siri voice. You can get it via Nuance's API or just using OS X's say -o command if you only need TTS at compile-time.
However, doing either will result in your app being rejected by Apple for infringing their trademarks. They will reject the app even if you make no reference to Siri in the app, even if the app bears no resemblance to Siri, and even if the app is not any kind of personal assistant.

Implementing "Add to Home Screen", ala Safari

Safari on iPhone has a feature that lets you create a shortcut on your home screen for a web page. Is it possible for other apps to implement similar functionality? I'd like to give my users a quick way to jump to a specific item in my iPhone application.
There is no officially sanctioned way to do this. Third-party apps on the iPhone have very limited scope for interaction with other parts of the system. They can look into the address book and the photo library and they can invoke other applications with certain arguments but they can't do anything with the home screen.
Not sure.. but there is application like 'One Tap Dial' that is doing it tho
I spent few hours to find ways to this - seems only safari has this capability
'One Tap Dial' eventually uses Safari to get this done