android navcontroller toolbar change height 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