This library provides an fullScreen pop and push gesture for UINavigationController with customize UINavigationBar for each single support.
362
stars
74
forks
source link
问一个问题,关于UIPercentDrivenInteractiveTransition的 #27
Closed
lsmakethebest closed 6 years ago
我在UINavigationController里设置UINavigationControllerDelegate=self 实现以下两个代理方法
(id)navigationController:(UINavigationController )navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController )fromVC toViewController:(UIViewController )toVC
-(id)navigationController:(UINavigationController )navigationController interactionControllerForAnimationController:(id)animationController
{
if (self.operation == UINavigationControllerOperationPush) {
} else{ LSInteractiveTransition *a= [[LSInteractiveTransition alloc]init]; self.interactiveTransition=a; return self.interation ? a : nil; } }
当我带自定义动画push时正常,当交互式push动画时,就闪退了,这是什么原因啊