Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个基于导航的应用程序。(它也有模态序列)我不确定我是否应该继续[super viewDidLoad];打电话。我应该在这行代码之后还是之前写代码?和类似的怎么样[super viewDidUnload];?
[super viewDidLoad];
[super viewDidUnload];
你不必;根据文档,它是一个存根函数,因此它在非子类中没有任何用处。
道德:总是阅读文档。