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