// // CustomNavigationView.h // LefenStore1.0 // // Created by LGY on 2017/10/19. // Copyright © 2017年 lefen58.com. All rights reserved. // #import /* * 默认色值 333333 * 默认显示 返回按钮 titile文字 * 默认时间 返回 */ @interface CustomNavigationView : UIView @property (strong, nonatomic) UIImageView *bgImg; @property (strong, nonatomic) UIView *cusNavView; //h: 44 @property (strong, nonatomic) UIView *btmLine; /// 返回:左边第一个按钮 @property (strong, nonatomic) UIButton *left0Btn; /// 左边第二个按钮 @property (strong, nonatomic) UIButton *left1Btn; @property (strong, nonatomic) UIImageView *titleImg; @property (strong, nonatomic) UILabel *titleLab; @property (strong, nonatomic) UIButton *right1Btn; @property (strong, nonatomic) UIButton *right0Btn; @property (strong, nonatomic) UIButton *rightTitleBtn; @property (copy, nonatomic) void (^handleBackBlock)(void); @property (copy, nonatomic) void (^handleGuanBiBlock)(void); @property (copy, nonatomic) void (^handleRight0Block)(void); @property (copy, nonatomic) void (^handleRight1Block)(void); @property (copy, nonatomic) void (^handleRightTitleBlock)(void); - (void)cus_setNavTitle:(NSString *)title; - (void)cus_setNavBackgroundColor:(UIColor *)color; - (void)cus_setNavBackgroundImage:(UIImage *)image; - (void)cus_setNavTintColor:(UIColor *)color; - (void)cus_setNavTitleColor:(UIColor *)color; // 0 返回按钮 1 返回和更多按钮 2 返回+特殊+更多按钮 3返回+文字按钮 4全部隐藏 - (void)cus_setNavShow:(NSInteger)type; /// 导航栏变透明,适合有头图的 - (void)styleClear; /// 白色的返回按钮 - (void)styleBackWhite; @end