From the course: iOS Development: Siri Shortcuts

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding add to Siri button

Adding add to Siri button - iOS Tutorial

From the course: iOS Development: Siri Shortcuts

Start my 1-month free trial

Adding add to Siri button

- [Instructor] Our Hot Coffee application is looking really great. But wouldn't be nice if we can simply launch and add the Siri shortcut associated with our order right from our application. For this to work, we first need to add, add to Siri button. Let's go to the main storyboard of our main application and try to add a button to the Place Order screen. For this, we can use a normal size button. Let's go ahead into the library and search for a button. Simply drag a button and place it anywhere you like. You can even add multiple roles so that you can add the bottom later on. So let's go ahead and add that. Click on the section. Go to the right pane. Add another row, great. Make sure there is nothing in the row. You can see the right now there is some label, we can delete that label. And we can move our button into the content view. Great, let's go ahead and put some constraints on our button, making…

Contents