File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -200,12 +200,13 @@ - (BOOL)shouldAutomaticallyForwardRotationMethods {
200
200
}
201
201
202
202
- (UIStoryboardSegue *)segueForUnwindingToViewController : (UIViewController *)toViewController fromViewController : (UIViewController *)fromViewController identifier : (NSString *)identifier {
203
- if (!([self .underLeftViewController isMemberOfClass: [toViewController class ]] || [self .underRightViewController isMemberOfClass: [toViewController class ]])) {
203
+ if ([self .underLeftViewController isMemberOfClass: [toViewController class ]] || [self .underRightViewController isMemberOfClass: [toViewController class ]]) {
204
+ ECSlidingSegue *unwindSegue = [[ECSlidingSegue alloc ] initWithIdentifier: identifier source: fromViewController destination: toViewController];
205
+ [unwindSegue setValue: @YES forKey: @" isUnwinding" ];
206
+ return unwindSegue;
207
+ } else {
204
208
return [super segueForUnwindingToViewController: toViewController fromViewController: fromViewController identifier: identifier];
205
209
}
206
- ECSlidingSegue *unwindSegue = [[ECSlidingSegue alloc ] initWithIdentifier: identifier source: fromViewController destination: toViewController];
207
- [unwindSegue setValue: @YES forKey: @" isUnwinding" ];
208
- return unwindSegue;
209
210
}
210
211
211
212
- (UIViewController *)childViewControllerForStatusBarHidden {
You can’t perform that action at this time.
0 commit comments