UITableViewController    的 表格 有时候没有显示数据,请查看 numberOfSections   是否 备注 或者 return 1

如果   return   保持默认是0的话 会没有显示

 

因为下面的 numberOfRowsInSection 根本不执行

  override func numberOfSections(in tableView: UITableView) -> Int {
        // #warning Incomplete implementation, return the number of sections
        return 1
    }