标签:|| present highlight 判断 rri mat navig uiview control
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
//显示navbar
self.navigationController?.setNavigationBarHidden(false, animated: true)
if(isBeingPresented || isMovingToParent){
print("======push")
}else{
print("======pop")
}
}
ios swift 判断uiviewcontroller时push present 进来的 还是pop进来的
标签:|| present highlight 判断 rri mat navig uiview control
原文地址:https://www.cnblogs.com/rchao/p/12092785.html