get height from bottom of navigation bar to top of tabbar swift code example
Example: get height of navigation bar swift
let navigationBarHeight: CGFloat = self.navigationController!.navigationBar.frame.height
let navigationBarHeight: CGFloat = self.navigationController!.navigationBar.frame.height