SyntaxFix
Write A Post
Hire A Developer
Questions
Swift 5
If you want to get the navigation bar height, use the maxY property that considers the safeArea size as well, like this:
maxY
let height = navigationController?.navigationBar.frame.maxY