Commit 7d2a7c846c05e9d130b76f273eb0d88aee1cdd53
1 parent
9803a006
no message
Showing
1 changed file
with
3 additions
and
0 deletions
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveListController.m
| ... | ... | @@ -131,6 +131,9 @@ |
| 131 | 131 | } |
| 132 | 132 | }else if ([keyPath isEqualToString:@"contentOffset"]) { |
| 133 | 133 | if (self.isLoading) { |
| 134 | + NSValue *newValue = change[NSKeyValueChangeNewKey]; | |
| 135 | + CGFloat contentPointY = newValue.UIOffsetValue.vertical; | |
| 136 | + self.contentOffetY = contentPointY; | |
| 134 | 137 | return; |
| 135 | 138 | } |
| 136 | 139 | UIScrollView *scrollView = object; | ... | ... |