Progress bars are great for showing progress of downloading files and other tasks that take time. This video shows how to create progress bars in iOS and how to use them in your apps.
- [Instructor] If you're ever doing something…in your application like downloading…a file that is not extremely small,…you might want to show the progress…to your user.…You can do that with the built in element,…a progress bar.…You can create a progress bar…through the library.…Open it up, search for a Progress View.…Click and drag one out to the screen.…I'll put it there.…Extend it and then shift, option, command,…and equals to add some auto layout constraints.…
So we have our progress view right here.…And the slider right here.…We'll have the slider update the progress view…as well as the label.…I'm going to option click ViewController.swift…and then right click and drag from…the progress view into the code…right underneath label.…Just like that.…And here it's saying that the type is UI View.…That means I clicked and dragged…from the wrong element.…It's a little bit difficult to click…and drag from that progress view,…so I click Cancel to cancel out of that.…I'll select the progress view in the document outline…and then right click and drag from…
- 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.