title: Change tint of SFSymbol in UITableView Cell Accessory tvOS
body: <p>I am adding an accessory view to a cell with:</p>
  
  <pre><code>UIImageSymbolConfiguration* configuration = [UIImageSymbolConfiguration configurationWithPointSize:28 weight:UIImageSymbolWeightRegular];
  UIImageView* accessoryView = [[[UIImageView alloc] initWithImage:[UIImage systemImageNamed:@"globe" withConfiguration:configuration]] autorelease];
  
  [accessoryView setImage:[imageView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]];
  [accessoryView setTintColor:[UIColor labelColor]];
  
  [cell setAccessoryView: accessoryView];
  </code></pre>
  
  <p><br>
  This works, but how can I configure it so that when the cell is highlighted, the globe icon changes from the labelColor tint to black (so it matches the text color)?</p>
  
  <p>I have also tried making a highlighted image but it does not have any effect:</p>
  
  <pre><code>UIImageSymbolConfiguration* configuration = [UIImageSymbolConfiguration configurationWithPointSize:28 weight:UIImageSymbolWeightRegular];
  UIImageView* accessoryView = [[[UIImageView alloc] initWithImage:[UIImage systemImageNamed:@"globe" withConfiguration:configuration]] autorelease];
  
  UIImage* normalImage = [accessoryView.image imageWithTintColor:[UIColor labelColor]];
  UIImage* highlightImage = [accessoryView.image imageWithTintColor:[UIColor blackColor]];
  
  [accessoryView setImage:normalImage];
  [accessoryView setHighlightedImage:highlightImage];
  
  [cell setAccessoryView:accessoryView];
  </code></pre>
  
  <p><br>
  Furthermore, the highlighted image never seems to be used at all:</p>
  
  <pre><code>UIImage* image = [[UIImage systemImageNamed:@"checkmark" withConfiguration:configuration] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
  UIImage* highlightedImage = [[UIImage systemImageNamed:@"globe" withConfiguration:configuration] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
  
  UIImageView* accessoryView = [[[UIImageView alloc] initWithImage:image highlightedImage:highlightedImage] autorelease];
  [cell setAccessoryView:accessoryView];
  </code></pre>
  
  <p><br>
  In the above code, the highlighted image is never shown.</p>