SJFullscreenPopGesture
SJFullscreenPopGesture copied to clipboard
setViewControllers:viewcontrollers 用这个方法后,手势返回失效了
[self.navigationController setViewControllers:viewcontrollers animated:YES]; 跳到下一个页面后,手势返回就失效了。求解有什么好的解决方案
同求???
[self.navigationController setViewControllers:viewcontrollers animated:YES]; 跳到下一个页面后,手势返回就失效了。求解有什么好的解决方案
- (void)beganWithNav:(UINavigationController *)nav viewController:(UIViewController *)viewController offset:(CGFloat)offset { SJSnapshot *snapshot = viewController.sj_previousViewControllerSnapshot;
是由于这个snapshot为nil return了。 可改写这方法。