forkingdog / forkingdog/FDFullscreenPopGesture

使用 setViewControllers 时异常

Open
#91 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

当我使用 FDFullscreenPopGesture 有以下跳转需求时
NSMutableArray *controllerArr = [self.navigationController.viewControllers mutableCopy];

```
if (controllerArr.count) {
[controllerArr removeAllObjects];
}

[controllerArr addObject:self.navigationController.viewControllers[0]];

[controllerArr addObject:[[FirstViewController alloc] init]];

[controllerArr addObject:[[SecondViewController alloc] init]];

[self.navigationController setViewControllers:controllerArr animated:YES];
```

当我 Push 到SecondViewController后,在UINavigationController+FDFullscreenPopGesture.m 在
[self fd_pushViewController:viewController animated:animated] 地方抛出异常,求解

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.