Commit 133085f461fc06772acfac892413f989cc945125
1 parent
11ed718d
头部去掉百年图片
Showing
19 changed files
with
24 additions
and
45 deletions
CNLiveScioLive/Assets.xcassets/Home/cnlive_CN.imageset/511624858680_.pic.jpg
0 → 100644
1.4 KB
CNLiveScioLive/Assets.xcassets/Home/cnlive_CN.imageset/571624858942_.pic_hd.jpg deleted
100644 → 0
2.4 KB
CNLiveScioLive/Assets.xcassets/Home/cnlive_CN.imageset/Contents.json
CNLiveScioLive/Assets.xcassets/Home/cnlive_EN.imageset/521624858689_.pic.jpg
0 → 100644
881 Bytes
CNLiveScioLive/Assets.xcassets/Home/cnlive_EN.imageset/581624858943_.pic_hd.jpg deleted
100644 → 0
2.05 KB
CNLiveScioLive/Assets.xcassets/Home/cnlive_EN.imageset/Contents.json
CNLiveScioLive/Assets.xcassets/Home/cnlive_blue_search.imageset/491624858665_.pic.jpg
0 → 100644
1.38 KB
CNLiveScioLive/Assets.xcassets/Home/cnlive_blue_search.imageset/561624858942_.pic_hd.jpg deleted
100644 → 0
2.29 KB
CNLiveScioLive/Assets.xcassets/Home/cnlive_blue_search.imageset/Contents.json
CNLiveScioLive/Assets.xcassets/Home/cnlive_classification.imageset/501624858672_.pic.jpg
0 → 100644
202 Bytes
CNLiveScioLive/Assets.xcassets/Home/cnlive_classification.imageset/551624858942_.pic_hd.jpg deleted
100644 → 0
1.69 KB
CNLiveScioLive/Assets.xcassets/Home/cnlive_classification.imageset/Contents.json
CNLiveScioLive/Assets.xcassets/common/cnlive_headerBack.imageset/Contents.json deleted
100644 → 0
| 1 | -{ | |
| 2 | - "images" : [ | |
| 3 | - { | |
| 4 | - "idiom" : "universal", | |
| 5 | - "scale" : "1x" | |
| 6 | - }, | |
| 7 | - { | |
| 8 | - "filename" : "WechatIMG8.jpeg", | |
| 9 | - "idiom" : "universal", | |
| 10 | - "scale" : "2x" | |
| 11 | - }, | |
| 12 | - { | |
| 13 | - "idiom" : "universal", | |
| 14 | - "scale" : "3x" | |
| 15 | - } | |
| 16 | - ], | |
| 17 | - "info" : { | |
| 18 | - "author" : "xcode", | |
| 19 | - "version" : 1 | |
| 20 | - } | |
| 21 | -} |
CNLiveScioLive/Assets.xcassets/common/cnlive_headerBack.imageset/WechatIMG8.jpeg deleted
100644 → 0
299 KB
CNLiveScioLive/Pages/Home/CNHomeENViewController.m
| ... | ... | @@ -187,10 +187,10 @@ static NSString *newsUpPicTableViewCell = @"CNLiveNewsUpPicTableViewCell"; |
| 187 | 187 | -(void)viewWillAppear:(BOOL)animated |
| 188 | 188 | { |
| 189 | 189 | [super viewWillAppear:animated]; |
| 190 | - UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 191 | - | |
| 192 | - backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 193 | - [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 190 | +// UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 191 | +// | |
| 192 | +// backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 193 | +// [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 194 | 194 | } |
| 195 | 195 | -(void)viewWillDisappear:(BOOL)animated |
| 196 | 196 | { | ... | ... |
CNLiveScioLive/Pages/Home/CNHomeViewController.m
| ... | ... | @@ -152,10 +152,10 @@ |
| 152 | 152 | |
| 153 | 153 | #pragma mark - UI |
| 154 | 154 | - (void)setUpNavigationBar{ |
| 155 | - UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 156 | - | |
| 157 | - backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 158 | - [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 155 | +// UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 156 | +// | |
| 157 | +// backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 158 | +// [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 159 | 159 | //左 |
| 160 | 160 | UIButton *headerButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 200, 44)]; |
| 161 | 161 | headerButton.userInteractionEnabled = NO; | ... | ... |
CNLiveScioLive/Pages/Live/Controller/CNLiveViewController.m
| ... | ... | @@ -218,10 +218,10 @@ static NSString *indicatorTableViewCell = @"CNLiveIndicatorTableViewCell"; |
| 218 | 218 | } |
| 219 | 219 | - (void)viewWillAppear:(BOOL)animated{ |
| 220 | 220 | [super viewWillAppear:animated]; |
| 221 | - UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 222 | - | |
| 223 | - backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 224 | - [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 221 | +// UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 222 | +// | |
| 223 | +// backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 224 | +// [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 225 | 225 | //直播开始统计 |
| 226 | 226 | [CNLiveStat statLivePlayerWithChannelId:@"zbsc"]; |
| 227 | 227 | [CNLiveStat beginEvent:@"zbsc"]; | ... | ... |
CNLiveScioLive/Pages/My/CNMyViewController.m
| ... | ... | @@ -34,10 +34,10 @@ static NSString *identifier = @"CNMyTableViewCell"; |
| 34 | 34 | -(void)viewWillAppear:(BOOL)animated |
| 35 | 35 | { |
| 36 | 36 | [super viewWillAppear:animated]; |
| 37 | - UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 38 | - | |
| 39 | - backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 40 | - [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 37 | +// UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 38 | +// | |
| 39 | +// backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 40 | +// [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 41 | 41 | } |
| 42 | 42 | - (void)viewDidLoad { |
| 43 | 43 | [super viewDidLoad]; | ... | ... |
CNLiveScioLive/Pages/Newsound/OldController/VoiceViewController.m
| ... | ... | @@ -394,10 +394,10 @@ static const NSInteger margin = 34; |
| 394 | 394 | |
| 395 | 395 | - (void)viewWillAppear:(BOOL)animated { |
| 396 | 396 | [super viewWillAppear:animated]; |
| 397 | - UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 398 | - | |
| 399 | - backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 400 | - [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 397 | +// UIImage *backGroundImage = [UIImage imageNamed:@"cnlive_headerBack"]; | |
| 398 | +// | |
| 399 | +// backGroundImage = [backGroundImage resizableImageWithCapInsets:UIEdgeInsetsZero resizingMode:UIImageResizingModeStretch]; | |
| 400 | +// [self.navigationController.navigationBar setBackgroundImage:backGroundImage forBarMetrics:UIBarMetricsDefault]; | |
| 401 | 401 | NSError *error = nil; |
| 402 | 402 | [[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayback error: &error]; |
| 403 | 403 | [[AVAudioSession sharedInstance] setActive:YES error:nil]; | ... | ... |