xcode13适配
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#import "IfishUserObsever.h"
|
||||
#import "UITabBar+addRedPointBadge.h"
|
||||
#import "LoveFishLiveListBaseViewController.h"
|
||||
#import "UIViewController+Navgation.h"
|
||||
@interface IfishMianTabViewController ()<UITabBarControllerDelegate,HomeStartAdviewDelegate>
|
||||
|
||||
@property (nonatomic,strong) NSArray *navigationHandlers;
|
||||
@@ -132,7 +133,7 @@ extern BOOL launchedByNotification;
|
||||
//nav.navigationBar.backgroundColor = [UIColor redColor];
|
||||
//[nav.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
|
||||
//直接切图 或扩展导航UINavigationBar+Background
|
||||
[nav.navigationBar setBackgroundImage:[UIImage imageNamed:@"blackbar.png"] forBarMetrics:UIBarMetricsDefault];
|
||||
[nav setNavbgImage:[UIImage imageNamed:@"blackbar.png"]];
|
||||
|
||||
NSString *title=titles[i];
|
||||
vc.title = title;
|
||||
@@ -144,6 +145,9 @@ extern BOOL launchedByNotification;
|
||||
@{NSFontAttributeName:[UIFont systemFontOfSize:19],
|
||||
|
||||
NSForegroundColorAttributeName:[UIColor whiteColor]}];
|
||||
[nav setNavTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:19],
|
||||
|
||||
NSForegroundColorAttributeName:[UIColor whiteColor]}];
|
||||
//IOS7后本项目可不做IOS7 以下处理
|
||||
UIImage *imgnomal=[UIImage imageNamed:ImageArr[i]];
|
||||
|
||||
@@ -178,7 +182,7 @@ extern BOOL launchedByNotification;
|
||||
}
|
||||
[VCArr1 addObject:nav];
|
||||
}
|
||||
|
||||
self.tabBar.backgroundColor=[UIColor whiteColor];
|
||||
self.viewControllers=VCArr1;
|
||||
|
||||
if (launchedByNotification) {
|
||||
|
||||
Reference in New Issue
Block a user