viewdidunload is not getting called at all

前端 未结 4 1406
我在风中等你
我在风中等你 2020-12-18 03:23

My problem is like this:

  1. Parent class loads a child view.
  2. Child removes itself during an action by using \"removeFromSuperView\".
  3. Parent clas
4条回答
  •  醉话见心
    2020-12-18 03:34

    viewDidUnload is called when a UIViewControllers's view is unloaded, not when a subview is removed from view.

提交回复
热议问题