You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
659 B
37 lines
659 B
// |
|
// UIDevice+VGAddition.h |
|
// LekangGuard |
|
// |
|
// Created by ecell on 2023/10/12. |
|
// |
|
|
|
#import <UIKit/UIKit.h> |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
@interface UIDevice (VGAddition) |
|
|
|
/// 顶部安全区高度 |
|
+ (CGFloat)vg_safeDistanceTop; |
|
|
|
/// 底部安全区高度 |
|
+ (CGFloat)vg_safeDistanceBottom; |
|
|
|
/// 顶部状态栏高度(包括安全区) |
|
+ (CGFloat)vg_statusBarHeight; |
|
|
|
/// 导航栏高度 |
|
+ (CGFloat)vg_navigationBarHeight; |
|
|
|
/// 状态栏+导航栏的高度 |
|
+ (CGFloat)vg_navigationFullHeight; |
|
|
|
/// 底部导航栏高度 |
|
+ (CGFloat)vg_tabBarHeight; |
|
|
|
/// 底部导航栏高度(包括安全区) |
|
+ (CGFloat)vg_tabBarFullHeight; |
|
|
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|