viewDidLoad 仅在第一次调用 [英] viewDidLoad is called only the first time
本文介绍了viewDidLoad 仅在第一次调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
也许有人可以告诉我为什么第二次启动我的应用程序时(按下主页按钮后)方法 viewDidLoad:
没有被调用?
Maybe someone could tell me why when launch my app in the second time (after pressing the home button) the method viewDidLoad:
is not being called?
推荐答案
在 iOS 4 上按下主页按钮时不再退出应用程序.它们从 RAM 中移出,暂停,然后在您重新输入时继续,不再启动.
On iOS 4 apps are no longer exited when pressing the home button. They are moved out of RAM, paused and then continued when you re-enter them, not launched again.
这篇关于viewDidLoad 仅在第一次调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文