iOS: enhancement for status bar height retrieval

This commit is contained in:
王劲鹏
2023-03-01 15:05:01 +08:00
committed by osborn
parent 63f8b87a1b
commit 15364618e1
3 changed files with 59 additions and 1 deletions

View File

@@ -54,6 +54,14 @@ UIImage *_Nonnull UIImageWithColor(UIColor *_Nonnull color);
BOOL hasNotch(void);
CGFloat systemStatusBarHeight(void);
CGFloat statusBarHeightFixed(void);
BOOL isDynamicIslandDevice(void);
BOOL isX(void);
#ifdef __cplusplus
}
#endif