Inferis/ViewDeck — Issue #38: view is empty when pushed by nav controller on ios 4.3
Author: increment
Created: 2012-02-13 12:19:49+00:00
State: open

I have a app consisting of a tabcontroller and several nav controllers...

In a table view (contained in a nav controller) I have the following code;

WebViewController *web = [[KPMGWebViewController alloc]init];
web.article = [APPDEL.datamodel.toc objectAtIndex:indexPath.row];
IIViewDeckController* deckController = [[IIViewDeckController alloc] initWithCenterViewController:web leftViewController:nil rightViewController:nil];
deckController.navigationControllerBehavior= IIViewDeckNavigationControllerIntegrated;
NSLog(@"pushing from %@",self.navigationController);
[self.navigationController pushViewController:deckController animated:YES];

This works great in ios5 but in ios4.3 the "web" is not load (ViewDidLoad is not called) and the screen is blank save for the navbar and tabbar...