【发布时间】:2020-05-24 05:03:28
【问题描述】:
【问题讨论】:
-
请分享演示项目
-
哪个屏幕没有显示单元格?
-
带有容器视图的那个(标题:新项目)
-
在解决您的问题后向您发送拉取请求
标签: ios swift uitableview uikit
【问题讨论】:
标签: ios swift uitableview uikit
从您的控制器中删除这两个功能将解决您的问题
override func numberOfSections(in tableView: UITableView) -> Int {
// #warning Incomplete implementation, return the number of sections
return 0
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
// #warning Incomplete implementation, return the number of rows
return 0
}
【讨论】: