From the course: iOS 14 Development Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Solution: Storyboards
From the course: iOS 14 Development Essential Training
Solution: Storyboards
(bright upbeat music) - [Instructor] So here's my solution to the challenge. And of course, it's very likely that yours will look different from mine, so keep that in mind. Let's start by bringing this label up. I don't really like that it's at the bottom of the screen and I'm going to zoom in so I can see a little more closely what's going on. So with these orange lines what that's telling us is Xcode sees differences between what we have on our storyboard here and what our constraints are telling Xcode to do. So what I'm going to do is just delete all the constraints for this label. Remember, we can do that in the inspector. So I'll go on the size inspector and just select each one of these and then hit the delete key one at a time to remove them. So no more constraints now. So let's move this text field to the right a little bit and then let's go in the library and grab a label and drag it out, double click…
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
-
-
-
-
Choosing between SwiftUI and storyboards3m 4s
-
Drag-and-drop user interface creation with storyboards4m 31s
-
Change a label's text at runtime5m 4s
-
Handling a button press5m 14s
-
Using text gathered from text fields5m 33s
-
Showing the keyboards1m 44s
-
Dismissing the keyboard2m 49s
-
Working with pins4m 27s
-
Troubleshoot common UI problems6m 21s
-
Challenge: Storyboards1m 58s
-
Solution: Storyboards3m 59s
-
-
-
-
-