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 - watchOS Tutorial
From the course: Apple watchOS 7 App Development Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Create a watch-only project3m 31s
-
Design the storyboard6m 6s
-
(Locked)
Connect objects to code4m 55s
-
(Locked)
Write watchOS code3m 27s
-
(Locked)
Row controllers in WatchKit5m 31s
-
(Locked)
Tables in WatchKit5m 8s
-
(Locked)
Run your watchOS app4m 35s
-
Working with the simulator2m 57s
-
(Locked)
Navigation in WatchKit4m 10s
-
(Locked)
Challenge: Ratings page58s
-
(Locked)
Solution: Ratings page8m 49s
-
(Locked)
-
-
-
-
-
-