From the course: Apple watchOS 7 App Development Essential Training

Unlock the full course today

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

Navigation in WatchKit

Navigation in WatchKit - watchOS Tutorial

From the course: Apple watchOS 7 App Development Essential Training

Start my 1-month free trial

Navigation in WatchKit

- We used a push controller in our app to get to the detail, which is a navigation controller equivalent. That's not the only controller you have, let's look at some others, close the app and go to the Interface Controllers Deed, select row. So let's go here to Interface Controller table did select row, and there's our push controller. I'm going to comment that out for now and put underneath there a present controller, which will be for a model, and so you, present controller and guess what? Almost everything inside's the same as the push controller, the only difference is its name so you can actually do a command C for copy of all those parameters and you can just dump them in like that. And then the only other change you have to do, is instead of popping it, you're going dismiss it over here in the detail interface controller, I'm going to change out pop for dismiss. And that's it. You can go ahead and run that and we…

Contents