测试结果:
与跳转方式(push/present)有关:
self.navigationController?.pushViewController(vc, animated: true)
----ViewController---viewDidDisappear-------
---ViewController2----viewDidAppear-------
self.present(vc, animated: true, completion: nil)
---ViewController2----viewDidAppear-------
----ViewController---viewDidDisappear-------
网友评论