问题:刘海屏幕适配
解决:适配代码如下
#define iPhoneX :(ScreenHeight == 812.0f || ScreenHeight == 896.0f)
#define AdaptNaviHeight (iPhoneX ? 24 : 0)
#define AdaptTabHeight (iPhoneX ? 34 : 0)
#define NAVIHEIGHT (iPhoneX ? 88 : 64)
#define TABBARHEIGHT (iPhoneX ? 83 : 49)