title: When screen rotation ReloadData()
body: <p>I can not update my custom view when you turn the screen of my device.</p>
  
  <p>I tried to do this:</p>
  
  <pre><code>override func viewDidLoad() {
          super.viewDidLoad()
  
  
         var myCustomView = Customview()
  
         self.view.addsubview(myCustomView)
          }
      }
  
      override func didRotateFromInterfaceOrientation(fromInterfaceOrientation: UIInterfaceOrientation) {
  
          // Reload Data here
  
          self.view.reloadData() // Incorrect
  
      }
  </code></pre>
  
  <p>But get me error:</p>
  
  <p><strong>the method "UIView" does not have a method called reloadData</strong></p>