title: cellForRowAt not being called But numberOfSection and numberOfRowsInSection is being called
body: <p>My code:</p>
  
  <pre><code>//Adding Destination VC as subview in my current view's view container
  let storyboard = UIStoryboard(name: "Main", bundle: nil)
          let viewController = storyboard.instantiateViewController(withIdentifier: "DestinationViewControllerID")
           containerView.addSubview(viewController.view)
          viewController.didMove(toParentViewController: self)
  
  //Now implementing Table view in the destination vc
  
  class DestinationViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
  
   var tableView = UITableView()
      var tableData = ["Beach", "Clubs", "Chill", "Dance"]
  
      override func viewDidLoad() {
          super.viewDidLoad()
          // Do any additional setup after loading the view, typically from a nib.
  
          let screenBounds = UIScreen.main.bounds
          let rect = CGRect(x: 0, y: 0, width: screenBounds.width, height: screenBounds.height)
          tableView = UITableView(frame: rect, style: UITableViewStyle.plain)
          tableView.dataSource = self
          tableView.delegate = self
          tableView.backgroundColor = UIColor.blue
  
          tableView.register(UITableViewCell.self, forCellReuseIdentifier: "my")
  
          view.addSubview(tableView)
  
          tableView.reloadData()
      }
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCell(withIdentifier: "my", for: indexPath)
          cell.textLabel?.text = "This is row \(tableData[indexPath.row])"
  
          return cell
      }
  
      func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return 4//tableData.count
      }
  }
  </code></pre>
  
  <p>If I'm Setting the destination viewController as my initial vc from storyboard then everything is working fine.But if adding as subview in container view the cellForRowAt method is not being called but numberOfSection and numberOfRowsInSection is being called.</p>
  
  <p>Is there anyone having any solution ?</p>