Are there any guidelines for using these methods in the right manner? In particular, I would like to know what type of code I could use inside them.For example, if I have to call a method that retrieves data from a WS, where do I have to call it? Where can I register/unregister a NSNotification? etc. 解决方案 From UIViewControllerviewWillAppear:viewWillDisappear:viewDidAppear:viewDidDisappear:For further information you may check View Controller Programming Guide for iOS 这篇关于viewWillAppear、viewDidAppear、viewWillDisappear、viewDidDisappear 的准则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-12 05:14