Commit 710cf214a16f457555a0089c0a1b5c7d97678f09

Authored by yanglingyu
1 parent bef7a095

取消loading,广告页自适应

CNLiveScioLive/AppDelegate.m
... ... @@ -119,6 +119,7 @@
119 119 self->imageView= [[UIImageView alloc ] initWithFrame :[ UIScreen mainScreen ]. bounds ];
120 120 [self->imageView setImage:[UIImage imageWithData:data]];
121 121 [AppKeyWindow addSubview:self->imageView];
  122 + self->imageView.contentMode= UIViewContentModeScaleAspectFill;
122 123 [self performSelector:@selector(removeImage) withObject:nil afterDelay:3];
123 124 self->done = YES;
124 125 }
... ...
CNLiveScioLive/Pages/Home/CNHomeViewController.m
... ... @@ -37,14 +37,14 @@
37 37 // }
38 38 return;
39 39 }
40   - [AlertViewTool showHUDView];
  40 +// [AlertViewTool showHUDView];
41 41  
42 42 [XWHTTPTool POST:strUrl params:parameters success:^(id json) {
43 43  
44 44 // if (self->_reFreshBtn) {
45 45 // [self->_reFreshBtn removeFromSuperview];
46 46 // }
47   - [AlertViewTool hideHUDView];
  47 +// [AlertViewTool hideHUDView];
48 48  
49 49 // 请求成功,解析数据
50 50 NSDictionary *dic = [NSDictionary dictionaryWithDictionary:json];
... ...
CNLiveScioLive/Pages/Home/外宣要闻/Controller/CNLiveHeraldedNewsViewController.m
... ... @@ -52,10 +52,10 @@ static NSString *newsUpPicTableViewCell = @"CNLiveNewsUpPicTableViewCell";
52 52 return;
53 53 }
54 54  
55   - [AlertViewTool showHUDView];
  55 +// [AlertViewTool showHUDView];
56 56  
57 57 [XWHTTPTool POST:strUrl params:parameters success:^(id json) {
58   - [AlertViewTool hideHUDView];
  58 +// [AlertViewTool hideHUDView];
59 59  
60 60 // 请求成功,解析数据
61 61 NSDictionary *dic = [NSDictionary dictionaryWithDictionary:json];
... ...