-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add target/source ViewController in STPopupControllerTransitioningCon… #98
base: master
Are you sure you want to change the base?
Conversation
STPopup/STPopupController.h
Outdated
|
||
@param animated YES if animated | ||
*/ | ||
- (void)popToRootViewControllerAnimated:(BOOL)animated; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this method removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, i didn't remember i deleted this method.
@@ -825,6 +825,7 @@ - (void)animateTransition:(id <UIViewControllerContextTransitioning>)transitionC | |||
UIViewController *topViewController = self.topViewController; | |||
|
|||
STPopupControllerTransitioningContext *context = [self convertTransitioningContext:transitionContext]; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert unneeded change if it's possible.
@@ -174,10 +180,8 @@ typedef NS_ENUM(NSUInteger, STPopupTransitionStyle) { | |||
*/ | |||
- (void)popViewControllerAnimated:(BOOL)animated; | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert unneeded change if it's possible.
/** | ||
Pops all view controllers from the stack until it reaches the root view controller | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert unneeded change if it's possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, done
add target/source View Controller for giving access to TargetViewController when using Custom Transition style popup