UINavigationControllerでナビゲーションバーの高さを取得する よく忘れるのでメモ。 CGFloat height = self.navigationController.navigationBar.frame.size.height;