Skip to content

发现一个cell为空导致崩溃问题,可以这样修复,麻烦更新一下。 #1739

@zhubinabc

Description

@zhubinabc
  • (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  • TZAlbumCell *cell = [tableView dequeueReusableCellWithIdentifier:@"TZAlbumCell"];
  • TZAlbumCell *cell = [tableView dequeueReusableCellWithIdentifier:@"TZAlbumCell" forIndexPath:indexPath];
    if (@available(iOS 13.0, *)) {
    cell.backgroundColor = UIColor.tertiarySystemBackgroundColor;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions