Skip to content

Commit

Permalink
Fix animateAlongsideTransition:completion: 可能不触发回调的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
changsanjiang committed Jan 7, 2021
1 parent 593db0e commit 79be893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SJBaseVideoPlayer.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SJBaseVideoPlayer'
s.version = '3.5.1'
s.version = '3.5.2'
s.summary = 'video player.'
s.description = 'https://github.com/changsanjiang/SJBaseVideoPlayer/blob/master/README.md'
s.homepage = 'https://github.com/changsanjiang/SJBaseVideoPlayer'
Expand Down
2 changes: 1 addition & 1 deletion SJBaseVideoPlayer/Common/Implements/SJRotationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ - (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIVi

if ( self.disableAnimations ) {
[CATransaction begin];
[CATransaction setDisableActions:self.disableAnimations];
[CATransaction setDisableActions:YES];
}
[coordinator animateAlongsideTransition:^(id<UIViewControllerTransitionCoordinatorContext> _Nonnull context) {
if ( isFullscreen )
Expand Down

0 comments on commit 79be893

Please sign in to comment.