换肤
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
// }
|
||||
QXTabbarConfig *config = [QXTabbarConfig shareInstance];
|
||||
config.imageOffset = -5;
|
||||
QXTabBar *customTabBar = [[QXTabBar alloc] initWithFrame:CGRectMake(15, 0, SCREEN_WIDTH-30, 50) centerCustom:NO config:config];
|
||||
QXTabBar *customTabBar = [[QXTabBar alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, TabbarContentHeight) centerCustom:NO config:config];
|
||||
customTabBar.backgroundColor = [UIColor whiteColor];
|
||||
customTabBar.layer.shadowColor = [UIColor grayColor].CGColor;
|
||||
customTabBar.layer.shadowOpacity = 0.5;
|
||||
@@ -179,8 +179,8 @@
|
||||
customTabBar.layer.shadowRadius = 25.0;
|
||||
customTabBar.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:customTabBar.bounds cornerRadius:customTabBar.layer.cornerRadius].CGPath;
|
||||
customTabBar.delegate = self;
|
||||
customTabBar.layer.cornerRadius = 25.0;
|
||||
customTabBar.layer.masksToBounds = NO;
|
||||
// customTabBar.layer.cornerRadius = 25.0;
|
||||
// customTabBar.layer.masksToBounds = NO;
|
||||
self.selectedIndex = 0;
|
||||
// [self.view addSubview:customTabBar];
|
||||
self.customTabBar = customTabBar;
|
||||
|
||||
Reference in New Issue
Block a user