Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSam Belcher
3,719 PointsRoot Views
Wait I'm confused as to what a root view is and how it relates to the safe view
1 Answer
Jonathan Fernandez
4,047 PointsRoot View: The entire view of View Controller, Safe View: The visible positions of the view, that will not be blocked views such as a navigation controller.
Roughly speaking, if some view such as a label were to be put near the top of the root view, then it could very well be blocked by a navigation controller. However, if you place that label in the safe view, we know it will not be blocked off by the navigation controller.
Sam Belcher
3,719 PointsSam Belcher
3,719 PointsThanks!