Commit a597ca522040c73c7141c204145556d3da28c7f0
1 parent
c4a6eb4f
no message
Showing
2 changed files
with
3 additions
and
4 deletions
CNLiveVideoClassifyKit.podspec
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveClassifySegmentController.m
| ... | ... | @@ -54,7 +54,6 @@ static const CGFloat animationHeight = 15; |
| 54 | 54 | @end |
| 55 | 55 | |
| 56 | 56 | @implementation CNLiveClassifySegmentController |
| 57 | -static CGFloat moveHeight = 50; | |
| 58 | 57 | - (void)viewDidLoad { |
| 59 | 58 | [super viewDidLoad]; |
| 60 | 59 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(DSShopNavColorChange:) name:CNWjjDSShopNavColorChangeNotifiName object:nil]; |
| ... | ... | @@ -197,7 +196,7 @@ static CGFloat moveHeight = 50; |
| 197 | 196 | -(void)viewDidLayoutSubviews |
| 198 | 197 | { |
| 199 | 198 | [super viewDidLayoutSubviews]; |
| 200 | - self.listContainerView.frame = CGRectMake(0, self.myCategoryView.bottom, kScreenWidth, self.view.bounds.size.height - self.myCategoryView.bottom+ moveHeight); | |
| 199 | + self.listContainerView.frame = CGRectMake(0, self.myCategoryView.bottom, kScreenWidth, self.view.bounds.size.height - self.myCategoryView.bottom+ 50); | |
| 201 | 200 | if ([CNUserShareManager isLogin]) { |
| 202 | 201 | self.myCategoryView.width = kScreenWidth - 45; |
| 203 | 202 | self.customChannelsBtn.centerY = [self preferredCategoryViewHeight]/2 + kStatusHeight; |
| ... | ... | @@ -643,7 +642,7 @@ static CGFloat moveHeight = 50; |
| 643 | 642 | } |
| 644 | 643 | |
| 645 | 644 | -(void)scrollViewUp{ |
| 646 | - self.topBgImg.bottom -= moveHeight; | |
| 645 | + self.topBgImg.bottom = kStatusHeight+50; | |
| 647 | 646 | self.myCategoryView.collectionView.top = -50-kStatusHeight; |
| 648 | 647 | self.listContainerView.top = kStatusHeight; |
| 649 | 648 | if ([CNUserShareManager isLogin]) { | ... | ... |