Commit f031c1d2097418d046d3eba142577930700b9a1b
1 parent
32314807
no message
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveScioLive/Pages/Home/外宣要闻/View/CNLiveNewsUpPicTableViewCell.m
| ... | ... | @@ -37,7 +37,7 @@ |
| 37 | 37 | [self.contentView addSubview:_backgroundImage]; |
| 38 | 38 | |
| 39 | 39 | _picImage = [[UIImageView alloc] init]; |
| 40 | - _picImage.contentMode = UIViewContentModeScaleToFill; | |
| 40 | + _picImage.contentMode = UIViewContentModeScaleAspectFill; | |
| 41 | 41 | _picImage.layer.masksToBounds = YES; |
| 42 | 42 | _picImage.image = [UIImage imageNamed:@"placeholder"]; |
| 43 | 43 | [self.contentView addSubview:_picImage]; | ... | ... |