请帮助,如果您有任何经验,我们的时间很长。
我有这个结构。
AppDelegate...
...Owns a _root ViewController (its view added to window)
...what owns the _main ViewController (its view added to _root's view)
...that has a Navigation controller (its view added to _main's view)
...then different viewControllers travels in this navigation stack.
但是 viewDidAppear/viewWillAppear 方法不会在最里面的视图中被调用。我不知道为什么。
当我阅读文档时,它说“添加到窗口时”。它们适用于 Windows 吗?不要这么想。我该怎么办?为什么不调用这些 CRUTIAL 方法?