override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
//显示navbar
self.navigationController?.setNavigationBarHidden(false, animated: true)
if(isBeingPresented || isMovingToParent){
print("======push")
}else{
print("======pop")
}
}
|
请发表评论