Pārlūkot izejas kodu

[*] 头像默认先试用默认的占位图

yanxuyao 6 mēneši atpakaļ
vecāks
revīzija
e2a01f5da3

+ 1 - 0
MiMoLive/MiMoLive/Classes/Welcome/MOFirstInfoSetVC.m

@@ -182,6 +182,7 @@
     self.headImgView.userInteractionEnabled = YES;
     self.headImgView.layer.cornerRadius = 60;
     self.headImgView.layer.masksToBounds = YES;
+    [self.headImgView setImage:[UIImage imageNamed:@"icon_mine_placeHolder"]];
     self.headImgView.contentMode = UIViewContentModeScaleAspectFill;
     UITapGestureRecognizer *headTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(headImgClick)];
     [self.headImgView addGestureRecognizer:headTap];