From the course: iOS 17 Development Essential Training

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Troubleshoot common UI problems

Troubleshoot common UI problems

- [Instructor] One of the most common problems you'll run into when working with storyboards and iOS is broken connections. A broken connection is where there's some UI element that is not properly connected to code, and this will manifest as a button not working, for example. So let's take a look at an example of a broken connection and how to resolve it in Xcode. I'm going to put my name in the text field and then I'm going to click this button and you'll notice that it does nothing. This happens if there's some kind of issue with the connection of either the button to your code, or the label to your code, or this text view to your code. Let's go over to Xcode and look at how to fix these connection issues. One way to view connections in Xcode is through the Connections Inspector, which is the right most button in the inspector bar. With the Connections Inspector selected, you want to select your view controller. Now…

Contents