From the course: Apple watchOS App Development: Advanced APIs
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add launch complications
From the course: Apple watchOS App Development: Advanced APIs
Add launch complications
- [Instructor] Many apps don't need to display information on the watch face. The complication is a quick way to launch the application from the watch face. Examples are the heart rate, maps, exercise, and breathe apps. Let's set up a launch complication for the pizza ordering app. Open the application from the last chapter if you don't have it open. We added complications, when we added the extension. Click on the "Application Properties" at the top of the navigator. Select the "PizzaOrderWatch Extension", in the drop down. Get rid of the console... About halfway down, you'll see the complication families. For all applications, you should configure all application families like you see here. This is a bit repetitive for a course, so I'll demonstrate only the utilitarian large and circular small, which is found on the default watch of the simulator. Deselect the rest. Still in Attributes, go to "PizzaOrderWatch." Towards the top, you'll see the display name, and put a space between…
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)
Define complications1m 43s
-
(Locked)
Add launch complications4m 12s
-
(Locked)
Large text complication templates6m 2s
-
Challenge: Circular small complication template1m 9s
-
(Locked)
Solution : Circular small complication template5m 36s
-
(Locked)
Configure timelines4m 41s
-
(Locked)
Timeline entries8m 8s
-
(Locked)
Complication timelines: Background8m 30s
-
(Locked)
-
-