iPhone X 适配
iPhone X:
StatusBar 高44px(原先为20px),NavigationBar 高44px,底部TabBar高83px(原先为49)
快速适配宏
#define NavBarHeight (ScreenHeight == 812 ? 88 : 64)
#define TabBarHeight (ScreenHeight == 812 ? 83 : 49)
#define IphoneXExtraH (ScreenHeight == 812 ? 34 : 0)
#define ScreenWidth [UIScreen mainScreen].bounds.size.width
#define ScreenHeight [UIScreen mainScreen].bounds.size.height