本文主要是介绍viewWillDisappear,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
viewWillAppear:
Called when the view is about to made visible. Default doesnothing
视图即将可见时调用。默认情况下不执行任何操作
viewDidAppear:
Called when the view has been fully transitioned onto the screen.Default does nothing
视图已完全过渡到屏幕上时调用
viewWillDisappear:
Called when the view is dismissed, covered or otherwise hidden.Default does nothing
视图被驳回时调用,覆盖或以其他方式隐藏。默认情况下不执行任何操作
viewWillDisappear
在屏幕变黑锁屏后,并不会触发这个事件
这篇关于viewWillDisappear的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!