Commit bb8fa86e4df6f90f3ea237afbb5666c231bfc70a

Authored by liushiyu
1 parent a2923d25

3.1.3

YBImageBrowser_DSCnliveShop.podspec
1 1 Pod::Spec.new do |s|
2 2 s.name = "YBImageBrowser_DSCnliveShop"
3   - s.version = "3.1.2"
  3 + s.version = "3.1.3"
4 4 s.summary = "YBImageBrowser改依赖为YYKit"
5 5 s.homepage = "http://bj.gitlab.cnlive.com/DSIOSTeam"
6 6 s.author = { "DSIOSTeam" => "694092596@qq.com" }
... ...
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) {
... ...