UINavigationBar(FWApplication)
@interface UINavigationBar (FWApplication)
/// 导航栏内容视图,iOS11+才存在,显示item和titleView等
@property (nonatomic, readonly, nullable) UIView *fw_contentView NS_REFINED_FOR_SWIFT;
/// 导航栏大标题视图,显示时才有值。如果要设置背景色,可使用fwBackgroundView.backgroundColor
@property (nonatomic, readonly, nullable) UIView *fw_largeTitleView NS_REFINED_FOR_SWIFT;
/// 导航栏大标题高度,与是否隐藏无关
@property (class, nonatomic, readonly, assign) CGFloat fw_largeTitleHeight NS_REFINED_FOR_SWIFT;
@end
Undocumented
-
导航栏内容视图,iOS11+才存在,显示item和titleView等
Declaration
Objective-C
@property (nonatomic, readonly, nullable) UIView *fw_contentView;
-
导航栏大标题视图,显示时才有值。如果要设置背景色,可使用fwBackgroundView.backgroundColor
Declaration
Objective-C
@property (nonatomic, readonly, nullable) UIView *fw_largeTitleView;
-
导航栏大标题高度,与是否隐藏无关
Declaration
Objective-C
@property (class, nonatomic, readonly) CGFloat fw_largeTitleHeight;