xcode13适配
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// UIViewController+Navgation.h
|
||||
// E-Mobile7
|
||||
//
|
||||
// Created by ldg on 2018/4/13.
|
||||
// Copyright © 2018年 Weaver. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
|
||||
|
||||
@interface UIViewController (Navgation)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 设置导航栏背景颜色
|
||||
*/
|
||||
- (void)setNavbgColorStr:(NSString *)colorStr;
|
||||
|
||||
/**
|
||||
* 设置导航栏背景图片
|
||||
*/
|
||||
- (void)setNavbgImage:(UIImage *)image;
|
||||
//获取
|
||||
-(UIImage*)getNaveImage;
|
||||
|
||||
- (void)setNavbgColor:(UIColor *)color;
|
||||
|
||||
/**
|
||||
* 设置导航栏文字颜色
|
||||
*/
|
||||
- (void)setNavTitleColor:(UIColor *)color;
|
||||
//字体和颜色
|
||||
|
||||
- (void)setNavTitleTextAttributes:(NSDictionary*)attribute;
|
||||
|
||||
//字体
|
||||
- (void)setNavTitleFont:(UIFont *)font;
|
||||
- (UINavigationBarAppearance *)getNavgationAppearanceWithNavgationController:(UINavigationBar *)bar API_AVAILABLE(ios(13.0));
|
||||
@end
|
||||
Reference in New Issue
Block a user