Skip to content

removeAllChildViewControllers 报错 #4

@jxr0016

Description

@jxr0016

您好:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions