- 获取状态栏尺寸
CGRect statusBarFrame = [[UIApplication sharedApplication] statusBarFrame];
// statusBar width - 320.000000
// statusBar height - 20.000000
- 获取导航栏尺寸
CGRect navigationBarFrame = self.navigationController.navigationBar.frame;
// navigationBar width - 320.000000
// navigationBar height - 44.000000