title: Parent and child view in Container V
body: <p>I have a project in iOS and I am trying to modify the same to use in another project. The project is working fine but when I try and Embed the Side View Controller in a tab bar controller it is giving an error</p>
  
  <pre><code>**MFSideMenuDemoStoryboard[23760:c07] -[UITabBarController setLeftMenuViewController:]: unrecognized selector sent to instance 0x757a590
  2013-06-13 10:08:51.062 MFSideMenuDemoStoryboard[23760:c07] **** * * **Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITabBarController setLeftMenuViewController:]: unrecognized selector sent to instance 0x757a590'**
  </code></pre>
  
  <p>i understand that there is something wrong in the Code in <code>appDelegate</code> .m but can't figure out</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  
  UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:[NSBundle mainBundle]];
  
  MFSideMenuContainerViewController *container = (MFSideMenuContainerViewController *)self.window.rootViewController;
  
  UINavigationController *navigationController = [storyboard instantiateViewControllerWithIdentifier:@"navigationController"];
  
  
  UIViewController *leftSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"leftSideMenuViewController"];
  UIViewController *rightSideMenuViewController = [storyboard instantiateViewControllerWithIdentifier:@"rightSideMenuViewController"];
  
  
  [container setLeftMenuViewController:leftSideMenuViewController];
  [container setRightMenuViewController:rightSideMenuViewController];
  [container setCenterViewController:navigationController];
  
  return YES;
  }
  </code></pre>
  
  <p>This is my storyboard</p>
  
  <p><a href="https://i.stack.imgur.com/64sAZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/64sAZ.png" alt="enter image description here"></a></p>