有了iPhone X 导航栏和状态栏高度最好就不要定值了,提供一下获取导航栏,状态栏宏
//状态栏 和导航栏 高度
#define StaH [[UIApplication sharedApplication] statusBarFrame].size.height
#define NavH self.navigationController.navigationBar.frame.size.height
有了iPhone X 导航栏和状态栏高度最好就不要定值了,提供一下获取导航栏,状态栏宏
//状态栏 和导航栏 高度
#define StaH [[UIApplication sharedApplication] statusBarFrame].size.height
#define NavH self.navigationController.navigationBar.frame.size.height