Commit 7808d016351281392517e123ab23a9f3b557ba74
1 parent
c6a46445
修改图片
Showing
4 changed files
with
10 additions
and
10 deletions
LiveVideoCloud/AppCustoms/Base/BaseViewController.m
| ... | ... | @@ -58,8 +58,8 @@ |
| 58 | 58 | [_btnLeft setFrame:CGRectMake(0, 0, 30, 30)]; |
| 59 | 59 | [_btnLeft addTarget:self action:@selector(onBackAction) forControlEvents:UIControlEventTouchUpInside]; |
| 60 | 60 | |
| 61 | - [_btnLeft setBackgroundImage:[UIImage imageNamed:@"fanhui_default"] forState:UIControlStateNormal]; | |
| 62 | - [_btnLeft setBackgroundImage:[UIImage imageNamed:@"fanhui_focused"] forState:UIControlStateHighlighted]; | |
| 61 | + [_btnLeft setImage:[UIImage imageNamed:@"fanhui_default"] forState:UIControlStateNormal]; | |
| 62 | + [_btnLeft setImage:[UIImage imageNamed:@"fanhui_focused"] forState:UIControlStateHighlighted]; | |
| 63 | 63 | _btnLeft.highlighted = NO; |
| 64 | 64 | UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:_btnLeft]; |
| 65 | 65 | ... | ... |
LiveVideoCloud/AppCustoms/Main/View/LVCTabBar.m
| ... | ... | @@ -43,13 +43,13 @@ |
| 43 | 43 | { |
| 44 | 44 | [super layoutSubviews]; |
| 45 | 45 | |
| 46 | - self.liveBtn.top = self.height - 195 / 3; | |
| 47 | - _liveBtn.left = SCREEN_WIDTH * 0.5 - 195 / 6; | |
| 48 | - _liveBtn.width = 195 / 3; | |
| 49 | - _liveBtn.height = 195 / 3; | |
| 46 | + self.liveBtn.top = self.height - 96 / 2; | |
| 47 | + _liveBtn.left = SCREEN_WIDTH * 0.5 - 96 / 4; | |
| 48 | + _liveBtn.width = 96 / 2; | |
| 49 | + _liveBtn.height = 96 / 2; | |
| 50 | 50 | |
| 51 | 51 | CGFloat buttonY = 19 - 3;//19 - 3.5; |
| 52 | - CGFloat buttonW = (self.width - 195 / 3)/ 4; | |
| 52 | + CGFloat buttonW = (self.width - 96 / 2)/ 4; | |
| 53 | 53 | CGFloat buttonH = 30; |
| 54 | 54 | |
| 55 | 55 | NSInteger index = 0; |
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | CGFloat buttonX = index * buttonW; |
| 60 | 60 | if (index >= 2) |
| 61 | 61 | { |
| 62 | - buttonX += 195 / 3; | |
| 62 | + buttonX += 96 / 2; | |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | subView.frame = CGRectMake(buttonX, buttonY, buttonW, buttonH); | ... | ... |
LiveVideoCloud/animation.xcassets/fanhui_default.imageset/Contents.json
LiveVideoCloud/animation.xcassets/fanhui_focused.imageset/Contents.json