Switches toggle on and off, and activity indicators show that a task is being completed. See how to create and customize these controls in this video.
- [Instructor] Here's a simple application…that shows a progress bar advancing…and it also has what's known as an activity indicator view.…Note that this is different…from the activity view controller that we looked at earlier.…The activity indicator view indicates activity.…It's also known as a spinner.…So what we want to do is have this spinner stop spinning…when the progress bar is complete.…So let's return to Xcode and stop the application.…
And let's look at our storyboard first.…So in the storyboard, I have a progress bar…and an activity indicator.…With the activity indicator selected…in the document outline, go in to head over…to the Attributes Inspector and show…some of the custom settings that I added to it.…For the style, I chose Large White…to make it a little bit easier to see.…For the color I chose a gray color.…If you want to make it a little bit darker…so it's easier to see, you could do that as well.…And I'm choosing Animating and Hides When Stopped…so all we have to do to hide it is to stop it.…
- Alert controllers and actions
- Sliders, progress bars, and switches
- Creating UI elements with code
- Displaying web content with Safari view controllers and WKWebView
- Creating collection view controllers
- Creating tabbed apps
- Publishing your app with App Store Connect
Skill Level Beginner
1. Master Views
2. Display Web Content
3. Collection Views
4. Multiview Templates
Customize a table view cell4m 18s
5. Publish an App
Next steps3m 28s
- 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.