views:

18

answers:

1

Hi everyone, i've got a small problem:

i've written a small project which is using tabBarController, implementation file have only this methood:

- (void)viewDidLoad {
[self setTabURLs:[NSArray arrayWithObjects:
   @"tt://tableWithShadow",
   @"tt://launcher",
   @"tt://characterList",
   @"tt://mapViewController",
   nil]];
}

in appDidFinishLaunching in my appDelegate, tab bar is mapped like this:

 [map from:@"tt://tabBarCon" toSharedViewController:[TabBarController class]];

the problem is when app quits, and then reopen again, it don't fully remember the state before quiting, the navigationBar is hidden and no viewController is picked on tabBar, it looks like this:

http://dl.dropbox.com/u/8583302/Zrzut%20ekranu%202010-10-13%20%28godz.%2015.17.11%29.png

but it should be like this:

in next post

does anybody seen this and know the way to fix it?