When do you call the super method in viewWillAppear, viewDidDisappear, etc…?

前端 未结 3 1208
我在风中等你
我在风中等你 2021-01-12 01:57

In UIViewController\'s documentation, Apple suggests calling the super at some point in the implementation of viewWillAppear, viewDidAppear, viewWillDisappear, viewDidDisapp

3条回答
  •  离开以前
    2021-01-12 02:17

    I generally will call these first within my implementation. In most cases it shouldn't matter though.

提交回复
热议问题