Commit 9ac51eb66ae9583bcad4a25c7125e0387ffcfc1e
1 parent
9883a32e
no message
Showing
1 changed file
with
2 additions
and
1 deletions
LiveVideoCloud/Classes/Sections/homeSections/Controller/HomeViewController.m
| @@ -35,7 +35,8 @@ | @@ -35,7 +35,8 @@ | ||
| 35 | // Do any additional setup after loading the view. | 35 | // Do any additional setup after loading the view. |
| 36 | self.view.backgroundColor = [UIColor whiteColor]; | 36 | self.view.backgroundColor = [UIColor whiteColor]; |
| 37 | self.navigationItem.title = @"首页"; | 37 | self.navigationItem.title = @"首页"; |
| 38 | - | 38 | + self.navigationController.navigationBar.translucent = YES; |
| 39 | + | ||
| 39 | UIButton *liveBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 40 | UIButton *liveBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 40 | liveBtn.frame = CGRectMake(0, 100, self.view.width, 40); | 41 | liveBtn.frame = CGRectMake(0, 100, self.view.width, 40); |
| 41 | [liveBtn setTitle:@"电视台直播" forState:UIControlStateNormal]; | 42 | [liveBtn setTitle:@"电视台直播" forState:UIControlStateNormal]; |