title: ScrollView not working after reload view swift 3
body: <p>I'd like to reload my <code>View</code> but after I reload it my <code>ScrollView</code> not working, but everything else refresh correctly. Here is my code to refresh view:</p>
  
  <pre><code>extension UIViewController {
      func reloadViewFromNib() {
          let parent = view.superview
          view.removeFromSuperview()
          view = nil
          parent?.addSubview(view) // This line causes the view to be reloaded
      }
  }
  </code></pre>
  
  <p>I tried to put these into my <code>viewDidLoad</code> maybe I just need to refresh the <code>SrollView</code> manually but it's still not working.</p>
  
  <pre><code>self.beSrcollView.bounces = true
  self.beSrcollView.delegate = self
  self.beSrcollView.updateConstraints()
  self.beSrcollView.isScrollEnabled = true
  self.beSrcollView.updateFocusIfNeeded()
  self.beSrcollView.setNeedsFocusUpdate()
  self.beSrcollView.needsUpdateConstraints()
  </code></pre>
  
  <p>Have you any idea how to fix this?</p>