I have tried as below You mentioned like,
YourNewCenterViewController *vc = [[YourNewCenterViewController alloc] init];
[self.drawer replaceCenterViewControllerWithViewController:vc];
but i am getting error as following,
'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: self.drawerState == ICSDrawerControllerStateOpen'
I have tried as below You mentioned like, YourNewCenterViewController *vc = [[YourNewCenterViewController alloc] init]; [self.drawer replaceCenterViewControllerWithViewController:vc];
but i am getting error as following, 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: self.drawerState == ICSDrawerControllerStateOpen'
Please Help Me Out