Commit 45f4112d434b193027b1322290bc53ad94fbb2f6
1 parent
d955a739
0.2.2
Showing
2 changed files
with
3 additions
and
3 deletions
CNLiveCMineModule.podspec
CNLiveCMineModule/Classes/CNCMine/ViewController/CNLiveMineVC.m
| ... | ... | @@ -167,8 +167,8 @@ static NSString *const CNSobotNotification_NewMessage = @"CNSobotNotification_Ne |
| 167 | 167 | CGFloat contentOffetY = scrollView.offsetY + kStatusHeight; |
| 168 | 168 | if (contentOffetY <= DS_adapt_length(35) && contentOffetY > 0) { |
| 169 | 169 | self.topSmallView.alpha = contentOffetY/DS_adapt_length(35) ; |
| 170 | - [AppKeyWindow addSubview:self.topImageView.codesView]; | |
| 171 | - [AppKeyWindow addSubview:self.topImageView.iconImage]; | |
| 170 | + [self.view addSubview:self.topImageView.codesView]; | |
| 171 | + [self.view addSubview:self.topImageView.iconImage]; | |
| 172 | 172 | [self.topImageView.iconImage mas_remakeConstraints:^(MASConstraintMaker *make) { |
| 173 | 173 | make.top.equalTo(self.view).offset(kStatusHeight+DS_adapt_length(35) - contentOffetY); |
| 174 | 174 | make.left.equalTo(self.view).offset(DS_adapt_length( 12)); | ... | ... |