how to let the parent view know that the subview has been removed - iphone
<p>this site has been very useful for me so far, and this is my first post.
My app has a tab view controller as the main access point.
However, when it runs for the first time, I need to check for some basic data, and if that is missing, I need to show a view to capture this information first . The table in the tab view uses this information to display the data.</p>

<p>The way I am doing it is like this:
In my app-delegate, I show the tab view.
Then check for information x. If not present, add subview view2 and show it on top.
In view2, I capture the information, and on click of a button remove it from superview. The required data is stored in global variables in the model.
Now, the control goes back to the tab view which showed it. 
The problem is that I need to reload the table data in the tab view so that it reflects the correct information. However, I am not able to capture this in my parent tab view. So, the only way I can do a refresh is by manually clicking a button, which is not ideal. I want it to automatically refresh as soon as the subview is removed from the stack.</p>

<p>Appreciate any suggestions.
Thanks,</p>
