title: How to obtain child view controllers of UIMoreListController (a private framework class)?
body: <p>I'm curious if there is a legitimate API with which to obtain the view controllers that are children of a <code>UIMoreListController</code>? (The UIMoreListController is the child at the top of the UIMoreNavigationController's view stack. The UIMoreNavigationController is the object pointed to by the <code>moreNavigationController</code> property of a <code>UITabBarController</code>.)</p>
  
  <p>In other words, if I have a UITabBarController and I set an array of six view controllers on it, the view hierarchy will actually look like this (it's actually a hierarchy of views, not view controllers, but using these identifiers make more sense):</p>
  
  <pre><code>+ UITabBarController &lt;-- has five tabs
  |--- view controller     &lt;-- these are my own view controllers
  |--- view controller
  |--- view controller
  |--- view controller
  |--+ UIMoreNavigationController &lt;-- root view controller of fifth tab
     |--+ UIMoreListController    &lt;-- table-based view shown on fifth tab
        |--- view controller      &lt;-- these are my own view controllers
        |--- view controller
  </code></pre>
  
  <p>One way to do this is to simply get the view controllers from the UITabBarController's <code>viewControllers</code> property, check to see if there are more than 5, and return all the view controllers from index 5 to <code>N - 1</code> if there are more than 5. (If there are less than 5, then no view controllers will be children of the UIMoreNavigationController.)</p>
  
  <p>However, I'd like to avoid hardcoding any assumptions about the number of view controllers that a UITabBarController will display before listing the remaining controllers in the <code>moreNavigationController</code>. Apple could change that number in the future. But I can't find any API on either UITabBarController or on UINavigationController with which to access these children, and UIMoreNavigationController is not a public class so I can't rely on any methods exposed on that class.</p>