From the course: iOS 17 Development Essential Training
Unlock this course with a free trial
Join today to access over 24,000 courses taught by industry experts.
Troubleshooting pins
From the course: iOS 17 Development Essential Training
Troubleshooting pins
- [Instructor] One of the biggest pain points in learning storyboards is resolving the issues that you run into when creating your auto layout pins. These usually happen when a pin gets deleted or an item gets manually moved or resized. So let's take a look at some different ways that you can resolve these issues. So the first thing I'm going to do is delete a pin. So in my layout here with my text field selected, I'm going to hover over this blue pin right at the top of the text field and click on it. It should have a white outline with a very slight shadow once you click on it, and then you can delete it with the Delete key on the keyboard. Now when you select the text field again, you see solid red lines, indicating a problem with your auto layout issues. Remember, if you're going to use auto layout pins, Xcode needs position and size information for each item using pins. When any of that information is not there…
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 storyboards2m 15s
-
(Locked)
Drag and drop user interface creation with storyboards4m 12s
-
(Locked)
Change a label's text at runtime4m 43s
-
(Locked)
Handling a button press2m 32s
-
(Locked)
Using text gathered from text fields4m 21s
-
(Locked)
Showing the software keyboard2m 2s
-
(Locked)
Dismissing the software keyboard2m 41s
-
(Locked)
Troubleshoot common UI problems5m 26s
-
(Locked)
Working with pins4m 25s
-
(Locked)
Troubleshooting pins5m 13s
-
(Locked)
Challenge: Storyboards46s
-
(Locked)
Solution: Storyboards3m 29s
-
-
-
-
-