Hi All! Sometimes I have to create popup in some view and it belongs to this view.
So I want it to be automatically hidden when view is not visible and shown again when view is visible again. In my particular case this view is the child of tab navigator that in its turn is the part of the view that is child of another tab navigator. How to handle this properly? If I have simple one level nesting visual hierarchy, I would probably add listeners to show and hide event and will switch the pop up visibility. Things are different when I have the situation I have described above, so, for instance, if the user change the selected tab in the topmost tab navigator my nested view knows nothing about that and the popup remains visible. Currently I handle all those cases in parent views controllers, though maybe better apprach exists? Thank you in advance! Sergey.

