title: How to remove the ChildViewController from Parent View Controller in Swift 3
body: <p>I am developing an IOS Application. I have added the <code>UIViewController</code> in View Pager. I want to reinitialize it when the language is changed. Here I want to remove all child <code>UIViewController</code> from <code>UIViewPager</code> and again back to add all <code>UIViewController</code> into Viewpager. How can I do that?</p>
  
  <p><strong>Sample Code</strong></p>
  
  <pre><code>let viewPager = ViewPagerController()
  viewPager.options = options
  viewPager.dataSource = self
  viewPager.delegate = self
  self.addChildViewController(viewPager)
  </code></pre>
  
  <p><strong>Swift 3.1</strong></p>
  
  <p><strong>xcode 8.3.3</strong></p>