swift get y without top bar 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