Intermediate iOS Debugging - Part 20: Runtime | Ray Wenderlich Videos

See how Xcode finds and highlights issues with your app at runtime.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4744-intermediate-ios-debugging/lessons/20

I would like to know if is it possible to know where is the issue (in the runtime in the ui) with the constrains if you are new in the code of the project. Because you are showing like the person knows the project but when you take a new project you have to search the problem. is there something like in a preview video where you can select from the bar inspector something that link you to the issue (->) ?

@jerbeers Can you please help with this when you get a chance? Thank you - much appreciated! :]

For some issues, Xcode will show you runtime auto layout issues in the issue navigator (by default this navigator shows build issues, but there is a tab for runtime issues). But sometimes, you have to work a little bit to find them. Using Debug View Hierarchy, you can see what views are present and their constraints and start to narrow it down from there.