cellForRowAtIndexPath不執行的原因
1.dataSource和delegate沒有設置
2.numberOfRowsInSection和numberOfRowsInSection返回的數據不是大于?0的整數
3.tableView沒有添加到父視圖上(這種情況,第2點種的方法都執行了)
cellForRowAtIndexPath不執行的原因
1.dataSource和delegate沒有設置
2.numberOfRowsInSection和numberOfRowsInSection返回的數據不是大于?0的整數
3.tableView沒有添加到父視圖上(這種情況,第2點種的方法都執行了)