mirror of
https://github.com/zhigang1992/ECSlidingViewController.git
synced 2026-01-12 22:46:53 +08:00
Call topViewHorizontalCenterlWillChange
- Does not change any behavior, but resetTopView will change the top view horizontal. - Consider firing a topViewWillReset.
This commit is contained in:
@@ -332,6 +332,8 @@ NSString *const ECSlidingViewTopDidReset = @"ECSlidingViewTopDidReset";
|
||||
|
||||
- (void)resetTopViewWithAnimations:(void(^)())animations onComplete:(void(^)())complete
|
||||
{
|
||||
[self topViewHorizontalCenterWillChange:self.resettedCenter];
|
||||
|
||||
[UIView animateWithDuration:0.25f animations:^{
|
||||
if (animations) {
|
||||
animations();
|
||||
|
||||
Reference in New Issue
Block a user