Continue adding controls with a label. Work some more with stacking controls, and learn about the limited space of a watch, along with methods for using labels effectively in small spaces.
- [Narrator] You've added two buttons,…now add a label.…In the filter for the object library,…type LA.…The label appears.…Drag the label to the interface,…but don't release the button.…For a little bit more insertion practice,…move your mouse cursor…between the ice cream and pizza buttons.…Release the mouse button,…and the label is between the two buttons.…Click and hold on the label while selected.…Move the insertion cursor above the pizza.…
Release the mouse button, to move the label here.…With the label selected,…look at the attributes for a label.…Change the text to Hello Apple Watch.…We can also change the font here.…Click on the T in the font drop down,…and you'll get the text attributes.…Click the font.…For most applications, it's best to use the default body,…or one of the text styles on the bottom of the list.…
These will change size according to user preferences.…This application needs a larger font…than these standard fonts,…since it will display emoji of pizza and ice cream.…Change to a System,…26 point font,…
- Principles of watchOS development
- Adding buttons and labels to your app
- Connecting objects to code
- Testing a watchOS app
- Laying out WatchKit UI objects
- Adding navigation
- Using Interface Library elements such as inputs, pickers, and media players
- Creating tables
- Working with table data
Skill Level Intermediate
1. A Look at the Apple Watch App
2. Building Your First Apple Watch App
3. Working with UI in watchOS
5. Interface Library
6. Tables and Scrolling
Next steps1m 57s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.