// MARK: 适配IPhone X
#define AppStatusBarHeight [[UIApplication sharedApplication] statusBarFrame].size.height // 适配iPhone x 状态浪高度
#define AppSafeViewTopSpace AppStatusBarHeight+44
#define AppTabbarHeight ([[UIApplication sharedApplication] statusBarFrame].size.height>20?83:50) // 适配iPhone x 底栏高度
#define AppBottomspace AppIsIPhoneX?HGADPT(66):0
#define AppSafeViewH ScreenH - AppSafeViewTopSpace - AppTabbarHeight
/* 判断IPhone X/
#define AppIsIPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)