链接wifi界面适配iPhone X

This commit is contained in:
xuemh
2018-03-30 21:39:49 +08:00
parent 62c7398284
commit d51b0c90cd
3 changed files with 21 additions and 4 deletions
@@ -102,7 +102,7 @@ static MyIntroductionViewController * introduction = nil;
for (int i=0; i<self.imageNames.count; i++) {
UIImageView * imgV = [[UIImageView alloc]initWithImage:[UIImage imageNamed:self.imageNames[i]]];
imgV.userInteractionEnabled=true;
imgV.contentMode = UIViewContentModeScaleAspectFill;
imgV.contentMode = UIViewContentModeScaleAspectFit;
imgV.layer.masksToBounds = YES;
CGFloat x = i * width;
imgV.frame = CGRectMake(x, 0, width, height);