We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rickytan,你好,我们项目中用到了这个库,目前在转场动画时遇见了问题:
我自定义一个类,遵守 UIViewControllerAnimatedTransitioning 协议 ,在当前UIViewController的
- (id<UIViewControllerAnimatedTransitioning>)navigationController:(UINavigationController *)navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC;
返回自定义类的实例对象,但在这类中只走
- (NSTimeInterval)transitionDuration:(id<UIViewControllerContextTransitioning>)transitionContext;
不走
- (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext;
如果在UIViewController的
直接返回self,上面的两个代理方法都走。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rickytan,你好,我们项目中用到了这个库,目前在转场动画时遇见了问题:
我自定义一个类,遵守 UIViewControllerAnimatedTransitioning 协议 ,在当前UIViewController的
- (id<UIViewControllerAnimatedTransitioning>)navigationController:(UINavigationController *)navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC;
返回自定义类的实例对象,但在这类中只走
- (NSTimeInterval)transitionDuration:(id<UIViewControllerContextTransitioning>)transitionContext;
不走
- (void)animateTransition:(id<UIViewControllerContextTransitioning>)transitionContext;
如果在UIViewController的
- (id<UIViewControllerAnimatedTransitioning>)navigationController:(UINavigationController *)navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC;
直接返回self,上面的两个代理方法都走。
The text was updated successfully, but these errors were encountered: