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.

Displaying confirmation view

Displaying confirmation view - iOS Tutorial

From the course: iOS Development: Siri Shortcuts

Start my 1-month free trial

Displaying confirmation view

- Our confirm view is now created and is ready to be displayed on the screen. Let's go ahead and jump into intent view controller. We're going to use the same exact techniques that we used for displaying our invoice view. The first thing we need to do is to make sure that we have created an IBoutlet which is associated with the confirm view. We'll call it confirm view. Next, we'll make sure that we have connected this IBoutlet. So let's go to the story board. To the intent view controller. Right click, and make sure that the confirm view is hooked up to the confirm view on the story board. Now let's go back to our intent view controller. The else portion, we're going to go ahead and check if the interaction that we did was intent handling status a success? Meaning your order was confirmed. If it was, then the desired sized is going to be a display confirm view. We're also going to pass in the order although we are…

Contents