Adding viewController as subview Swift Not showing any component
<p>I create a view controller vc in storyboard and place a View1 on it and add all constraint to it. Now I want to add a vc as a subview. I use this code :</p>

<pre><code>let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewControllerWithIdentifier("LeftMenuListIdentifier")      
self.view.addSubview(vc.view)
</code></pre>

<p>vc controller's add as subview to my current controller but it does not show any subview of vc controller'view means View1. </p>

<p>If I push vc controller to my current view controller then it shows View1. </p>

<pre><code>self.navigationController?.pushViewController(vc, animated: true)
</code></pre>

<p>Please suggest what should I do . I want to add a view controller from storyboard as a subview. </p>