title: IOS new Facebook iPhone App UISplitViewController Layout
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7775195/splitview-like-facebook-app-on-iphone">SplitView like Facebook app on iPhone</a>  </p>
  </blockquote>
  
  
  
  <p>another break away .net developer here now trying to get used to the world of IOS. </p>
  
  <p>I like the layout of the new Facebook iPhone app (October 2011), and want to implement something similar in an app I am doing.  I know that the UISplitterControl is not available on iPhone but Facebook seem to have pulled a little magic to make it appear so on their new app.</p>
  
  <p>In Facebook's implementation it looks to me that they have used a UINavigationController which slides to the right by x when the NavigationBar icon is tapped thus exposing a view underneath with the menu items.</p>
  
  <p>Would appreciate if someone could help me work this out as the solution would also be a great learning curve.</p>
  
  <p>I've tried setting a UINavigationController as the AppDelegate window root view controller, then using initwithframe to load a custom view which includes the menu items as a subview hidden behind the UINavigationcontroller root view.  Then when the UINavgationController menu item button is clicked slide the NavigationController to the right thus exposing the view underneath with menu items.This presents two problems, first that the subview positioning doesn't work and also how can I slide the actual UINavigationController to the right to expose the menu view underneath.</p>
  
  <p>Please help!</p>