- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
The reason for not being called may be that there is no data in the data source!
Note that the calling order of these related methods is:
1. First call numberOfSectionsInTableView
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;
When there is data, it will go down, and the method will be called: tableView:cellForRowAtIndexPath;
2. When numberOfSectionsInTableView is not 0, it means that there is data, and then the numberOfRows in each section will be obtained
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;