Skip to content
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

removeAllChildViewControllers 报错 #4

Open
jxr0016 opened this issue Aug 4, 2015 · 0 comments
Open

removeAllChildViewControllers 报错 #4

jxr0016 opened this issue Aug 4, 2015 · 0 comments

Comments

@jxr0016
Copy link

jxr0016 commented Aug 4, 2015

您好:

下载了您的代码研究了一下,发现在最后一个page时向LTSlidingViewController的实例发送通知,通知LTSlidingViewController调用removeAllChildViewControllers会出现访问越界的情况,查明原因是因为此刻self.childViewControllers.count变成了初始容量-1造成的访问越界,请问为什么会出现容量-1的情况呢?如能看到还希望能解答一下,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant