// // KBNavigationBar.h // YouHuiProject // // Created by 小花 on 2018/1/16. // Copyright © 2018年 kuxuan. All rights reserved. // #import typedef NS_ENUM(NSInteger, YHNavigationBarStyle) { YHNavigationBarStyleNormal = 0, YHNavigationBarStyleTransparent, YHNavigationBarStyleWhite }; @interface KBNavigationBar : UIView // 默认是:no @property (nonatomic, assign) BOOL showNavigationBarBottomLine; @property (nonatomic, strong) UILabel *navTitleLabel; - (void)setBackButtonWithTarget:(id)target selector:(SEL)selector; /** 设置左边按钮 */ - (void)setCustomButtonWithButton:(UIButton*)button target:(id)target selector:(SEL)selector; - (void)setCustomLeftButtons:(NSArray*)buttons; - (void)setCustomRightButtons:(NSArray*)buttons; - (void)setNavTitle:(NSString*)title; /** titleView */ - (void)setCustomTitleView:(UIView*)titleView; - (void)setYHNavigationBarStyle:(YHNavigationBarStyle)barStyle; - (void)setNavightionBarBackgroundColor:(UIColor *)color; @end