Swift view.frame.heigh with navigation controller bar

Hi. I have included a navigation controller in my project. Now I want to give an object a height of view.frame.heigh in my ViewController. Will the height of the navigation bar on the top of the ViewController be with calculated in view.frame.height and will my object then be below the navigation bar and I cannot see it? Best regards

Hi. You can set up constraints related to safeArea. Safe area will be calculated at the top till the navigation item.

Also you can hide top bar on any separated viewController as you want and create custom top bar.

Swift view.frame.heigh with navigation controller bar
 
 
Q