UIViewController(FWAdaptive)

@interface UIViewController (FWAdaptive)

/// 当前状态栏布局高度,导航栏隐藏时为0,推荐使用
@property (nonatomic, assign, readonly) CGFloat fw_statusBarHeight NS_REFINED_FOR_SWIFT;

/// 当前导航栏布局高度,隐藏时为0,推荐使用
@property (nonatomic, assign, readonly) CGFloat fw_navigationBarHeight NS_REFINED_FOR_SWIFT;

/// 当前顶部栏布局高度,导航栏隐藏时为0,推荐使用
@property (nonatomic, assign, readonly) CGFloat fw_topBarHeight NS_REFINED_FOR_SWIFT;

/// 当前标签栏布局高度,隐藏时为0,推荐使用
@property (nonatomic, assign, readonly) CGFloat fw_tabBarHeight NS_REFINED_FOR_SWIFT;

/// 当前工具栏布局高度,隐藏时为0,推荐使用
@property (nonatomic, assign, readonly) CGFloat fw_toolBarHeight NS_REFINED_FOR_SWIFT;

/// 当前底部栏布局高度,包含标签栏和工具栏,隐藏时为0,推荐使用
@property (nonatomic, assign, readonly) CGFloat fw_bottomBarHeight NS_REFINED_FOR_SWIFT;

@end

Undocumented

  • 当前状态栏布局高度,导航栏隐藏时为0,推荐使用

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat fw_statusBarHeight;
  • 当前导航栏布局高度,隐藏时为0,推荐使用

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat fw_navigationBarHeight;
  • 当前顶部栏布局高度,导航栏隐藏时为0,推荐使用

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat fw_topBarHeight;
  • 当前标签栏布局高度,隐藏时为0,推荐使用

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat fw_tabBarHeight;
  • 当前工具栏布局高度,隐藏时为0,推荐使用

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat fw_toolBarHeight;
  • 当前底部栏布局高度,包含标签栏和工具栏,隐藏时为0,推荐使用

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat fw_bottomBarHeight;