SegmentCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:SEGMENT_COLLECTIONVIEW_CELL_ID forIndexPath:indexPath];
SegmentItem *item = [segmentViewModel.segments objectAtIndex:[indexPath row]];
cell.segmentNameLabel.text = item.segmentName;
cell.segmentNameLabel.font = segmentViewModel.segmentFont;
cell.segmentNameLabel.textColor = segmentViewModel.segmentTextColor;
cell.segmentNameLabel.isAccessibilityElement = true;
cell.segmentNameLabel.accessibilityLabel = item.segmentName;
当我点击单元格时,辅助功能不会更新
我需要编写任何函数来更新可访问性吗?