Commit bb8fa86e4df6f90f3ea237afbb5666c231bfc70a
1 parent
a2923d25
3.1.3
Showing
2 changed files
with
4 additions
and
1 deletions
YBImageBrowser_DSCnliveShop.podspec
YBImageBrowser_DSCnliveShop/Classes/YBImageBrowser/Image/YBIBImageCell.m
| ... | ... | @@ -348,6 +348,7 @@ |
| 348 | 348 | |
| 349 | 349 | if (pan.state == UIGestureRecognizerStateBegan) { |
| 350 | 350 | _interactStartPoint = point; |
| 351 | + [[NSNotificationCenter defaultCenter] postNotificationName:@"CNLivePhotoBrowserestureRecognizerStateBeganNotification" object:nil]; | |
| 351 | 352 | } else if (pan.state == UIGestureRecognizerStateCancelled || pan.state == UIGestureRecognizerStateEnded || pan.state == UIGestureRecognizerStateRecognized || pan.state == UIGestureRecognizerStateFailed) { |
| 352 | 353 | |
| 353 | 354 | // End. |
| ... | ... | @@ -438,6 +439,8 @@ |
| 438 | 439 | |
| 439 | 440 | self->_interactStartPoint = CGPointZero; |
| 440 | 441 | self->_interacting = NO; |
| 442 | + | |
| 443 | + [[NSNotificationCenter defaultCenter] postNotificationName:@"CNLivePhotoBrowserestureRecognizerStateEndNotification" object:nil]; | |
| 441 | 444 | }; |
| 442 | 445 | |
| 443 | 446 | if (duration <= 0) { | ... | ... |