Split view controller shows only one childviewcontroller
<p>Device iPhone 6+(support split view in landscape mode)</p>

<p>I am using split view controller and I have an issue in it. In portrait mode, when i print child view controllers of split view, It shows only one view controller(primary view controller). While in landscape mode, It works fine.</p>

<p>Can anyone help me to get the root cause.</p>

<p>In Portrait mode:</p>

<pre><code>(lldb) po self.splitViewController.viewControllers
&lt;__NSArrayI 0x7fb5ec528e70&gt;(
&lt;UINavigationController: 0x7fb5ec148850&gt;
)
</code></pre>

<p>In landscape mode:</p>

<pre><code>(lldb) po self.splitViewController.viewControllers
&lt;__NSArrayI 0x7fc0b2eaf910&gt;(
&lt;UINavigationController: 0x7fc0b2a2e100&gt;,
&lt;UINavigationController: 0x7fc0b09b0600&gt;
)
</code></pre>

<p>Thanks,</p>