How do I create custom intent in siri - ios

I know siri provides limited Intents and we have to add our app to domain to be able take input from siri.
But I would like to create my own intent for the users to access my app via siri.
I couldn't find much support for this anywhere ? any helpful pointers are welcome

Update
Now you can create custom intents and use them with Siri Shortcuts. Here is a simplified tutorial by Ray Wenderlich
https://www.raywenderlich.com/6462-siri-shortcuts-tutorial-in-ios-12
or you can prefer
This article for beginners
For more details, you should prefer Apple's official documentation.
https://developer.apple.com/documentation/sirikit
Outdated Answer
You can't create a custom intent for now. Maybe in later versions, they can add support for custom intents. Maybe they don't. With their current approach, Apple holds all the control over, intent(operation) types, data, privacy, etc. I'm not sure they will change that.
If you really need custom voice commands, you can implement it inside your application(not out of the app like Siri). There are alternatives like
Apple's AVSpeechSynthesizer
Apple's Speech
IBM's Watson
Nuance Speech Kit

You can create a custom intent as of iOS 12. It is quite a complicated process, but there are some tutorials available that can help you out.
I think Apple's WWDC example is a good starting point.

Related

What's kind of document that allow String turn to speaking (Siri speaking, not human speaking)

I am a comic developer, however, I am deaf iOS developer. I don't need to hiring hearing but i know iOS has feature to select all sentence to speak like that. I need any idea whats called and code sample to make a speak whenever the String comes into speaking like that in Swift. Thanks.
I think you are asking for “speech synthesis”, also called “text-to-speech” (TTS for short).
Apple provides speech synthesis in the AVFoundation framework.
Speech Synthesis documentation
AVSpeechSynthesizer: Making iOS Talk
Create a seamless speech experience in your apps
Apple's accessibility system also provides speech synthesis. This feature is called VoiceOver.
UIAccessibilityReadingContent protocol documentation
Creating an Accessible Reading Experience

How can I intergrate SiriKit using Objective-C?

I am working on an iOS app similar to Uber and wish to integrate SiriKit to perform various in app functions like requesting a cab, the app has been made using Objective-C and I wish to integrate the SiriKit. What is the best possible way to do that. I am afraid I might not be able to switch to Swift.
The Apple Developer documentation has code samples in both Objective-C and Swift. Your question is very broad, so I would start by looking through the documentation that they provide:
https://developer.apple.com/library/content/documentation/Intents/Conceptual/SiriIntegrationGuide/
On this site, it is better to ask specific questions, along with code samples showing what you have tried, rather than broad questions basically asking for a full tutorial.
You misundestood SiriKit concept. It based on usage of "Intents extension". to handle intents you free to use objective-c.
Please refer to manual

Can I change the voice of OpenEars (iOS)

Would I be able to change the speaking voice of OpenEars to another? I don't quite like the the default one. Is that possible or would I have to use another API. Sorry if this is a stupid question.
Yes, you can, but it's a bit complex process. Openears uses Flite for speech synthesis, so you need to change the voice in Flite. Flite supports 13 voices to choose already and you have an option to build a new voice.
To build a new voice you need to follow the documentation. A festvox documentation might be also useful for you to understand the basics.

Is there a way to edit the look of this mp3 file?

I am using MFMessageComposeViewController to share an mp3 file.
I would like to know if there is a way I can add a custom image to this file instead of the way it looks. If possible any other customizations like changing colors would be great also.
Please check the image for more of a visual explaining my question.
You are using an Apple-supplied Cocoa framework: MFMessageComposeViewController, and Apple doesn't give you a way to override or customize appearance-related functionality on most of these frameworks. This is usually done to enhance the end user's experience across all iOS apps.
In most cases, if you are not satisfied with the Apple-supplied functionality, you can write your own. However, in this case, since you are dealing with Messaging / SMS, you are stuck with what Apple gives you, for the sake of security.

iOS SDK - How to know which kit, class to use?

I'm new to iOS development and was wanting to know how to efficiently locate which kit, class to use to achieve certain things.
For example, I'm planning to build an app that heavily makes use of calendar events and I found that I should be looking at using something like eventkit to build upon but it's not clear for me within this kit which class to instantiate and which method to use in what order.
Can someone please direct me to a place where I can see some code examples of using a range of different kits?
I think you can learn things as you described from 'Reference'.
Two ways to check Apple Official References in Xcode. One is clicking the function name, parameter or those colorful keywords while you pushing the 'option'. The second way is using three fingers to touch those "keywords" slightly on the touchPad.
Or you can check many kits references by visiting iOS Developer Library (website). I'm also new to iOS Development, I wish things I said can help you.

Resources