title: iphone app - how to detect which tab bar item was last pressed
body: <p>This is the sequel <a href="https://stackoverflow.com/questions/5885667/iphone-app-detect-which-tab-bar-item-was-pressed">of my previous question</a><br>
  I have a tab bar based application. Each tab bar item represents an rss feed. When i press a tab bar item, the rss url which is stored in a "global" object (singleton) changes and the rss parser starts parsing the rss feed. The results are displayed in a table view.<br>
  To detect which tab bar item was pressed (so to parse the correct url), in the  </p>
  
  <pre><code>- (void)tabBarController:(UITabBarController *)tabBarCtrl didSelectViewController:(UIViewController *)viewController
  </code></pre>
  
  <p>method i use the <code>tabBarCtrl.selectedViewController.title</code> to get the item title.<br>
  I have many tab bar items, 4 of them are displayed directly in the view, the rest are displayed after pressing the "More" item.<br>
  The problem is that the <code>didSelectViewControler</code> method is called only when the first 5 tab bar items are pressed. When i press any of the items from the "More" list i can't get the title, so i followed the solution given in my previous question (see link at first line).  </p>
  
  <p>By calling the <code>didSelectViewController</code> method i manage to get the pressed tab bar item's title, but only after the parser has run and the view has appeared. So, for every item selected from the "More" list, i get the rss feed from my last (previous) selection.  </p>
  
  <p>Any ideas how i can solve this?<br>
  I tried to explain it as well as i can, if you need any further info i can provide.<br>
  Hope to get something out of it because it's really urgent...  </p>
  
  <p>Thank you in advance</p>