In the three20 TTCategory example, I am trying to modify the LauncherViewTestController to launch an test view controller. I created a TestContrller class and register as
[map from: @"tt://test"
parent: @"tt://launcherTest"
toViewController: [TestController class]
selector: nil
transition: 0];
Then in launchView:didSelectItem:, I try to navigate to this test view controller
- (void)launcherView:(TTLauncherView*)launcher didSelectItem:(TTLauncherItem*)item {
TTNavigator *navigator = [TTNavigator navigator];
[navigator openURLAction:[ [TTURLAction actionWithURLPath:@"tt://test"] applyAnimated:NO]];
}
However, I keep getting “error nested push animation can result in corrupted navigation bar”, and the navigation bar is not working properly with title stack on each other. I am very new to iphone development, can anybody give me some help here?
Edit, I posted my answer below, I need map to SharedViewController instead ViewController.
i find the problem is that I need map to a sharedviewcontroller instead of viewcontroller.