It’s okay without rewriting. Because MyViewController是继承自UIViewController, if it is not overridden, this method of the parent class will be automatically called.
Rewriting is usually done to do some initialization processing. In fact, the initialization processing is usually placed in viewDidLoad. So what I see is that this method is generally not rewritten.
It’s okay without rewriting. Because
MyViewController
是继承自UIViewController
, if it is not overridden, this method of the parent class will be automatically called.Rewriting is usually done to do some initialization processing. In fact, the initialization processing is usually placed in
viewDidLoad
. So what I see is that this method is generally not rewritten.