title: Which is the best way to change the color/view of disclosure indicator accessory view in a table view cell in iOS?
body: <p>I need to change the color of the <code>disclosureIndicatorView</code> accessory in a <code>UITableViewCell</code>.
  I think there are two ways to get this done, but I'm not able to figure out which one's the optimum. So here is what I think I can do.</p>
  
  <p>There is a property of <code>UITableViewCell</code> - <code>accessoryView</code>. So I can use <code>setAccessoryView:(UIView *)view</code> and pass view as the <code>UIImageView</code> holding the image that I want.</p>
  
  <p>I have written an utility class which creates the content view (stuff like background color, adding other stuff, etc) for my cell and I add this content view to the cell in <code>UITableViewDelegate</code>. The other option is to draw a <code>UIImage</code> overriding the <code>drawRect</code> method of <code>CustomContentView</code> utility class.</p>
  
  <p>Performing option 1 - I can get the things done the apple way. Just give them the view and they do the rest. But I guess adding a new <code>UIView</code> object to every row might turn out to be a heavy object allocation and decreasing the frame rate. As compared to just a <code>UIImage</code> object in my <code>contentView</code>. I believe <code>UIImage</code> is lighter than <code>UIView</code>.</p>
  
  <p>Please throw some light people and help me decide over it.</p>