I created a window based application. The program structure is
Added a navigation controller with rootcontroller say A to the window.
From A i pushed a new view controller say B.
In B i added a tab bar with five tab bar items.
Each tab item contains separate navigation controller except first one. First tab item contains a view controller.
In viewDidLoad of A i hide the navigation back button by [self.navigationItem setHidesBackButton:YES];
In tab bar's didSelectViewController delegate method i hide the navigation bar while pressing 2,3,4 and 5 th tab bar item.
When i select first tab i rehide the navigation bar by [self.navigationController setNavigationBarHidden:FALSE animated:NO];
A strange behaviour here is navigation back button appearing on the navigation bar when selecting first tab after coming from any of 2,3,4,5th tab. Sometime it appear on the left side and sometime it will be on the middle of the navigation bar. I can notice this only in IPhone OS4.All working fine in OS3. Can any one suggest the reason behind this.
Thanks in advance!