iOS: isMovingToParentViewController is not working as expected
问题 My setup is simple, and my issue is not very different from this one. However to better explain it I have posted it here: NavController -> VC1 -> VC2 VC1 is root view controller of NavController. VC2 is accessible via Push segue from VC1. I want to detect, within VC1, whether: It appeared directly as root view controller (via Push) It appeared as a result of VC2 being popped I read the docs which says following should tell me if later is true. isMovingToParentViewController == NO However that