title: Xamarin.Forms: Custom renderer for displaying disclosure indicator on UITableViewCell
body: <p>I want to show a disclosure indicator on my table view cell for iOS. I found <a href="https://forums.xamarin.com/discussion/18131/listview-cell-arrow-disclosure-indicator" rel="nofollow">this thread</a> and a custom renderer has been proposed. I tried this:</p>
  
  <pre><code>[assembly: ExportRenderer (typeof (EmployeeCell), typeof (EmployeeCellRenderer))]
  
  namespace HelloXamarinFormsWorld.iOS
  {
      public class EmployeeCellRenderer : Xamarin.Forms.Platform.iOS.ViewCellRenderer
      {
          public override UITableViewCell GetCell (Cell item, UITableView tv)
          {
              var cell = base.GetCell (item, tv);
  
              cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
  
              return cell;
          }
      }
  }
  </code></pre>
  
  <p>This file is called <code>EmployeeCellRenderer</code> and can be found in the root directory of the iOS solution. Such a custom renderer can be also found <a href="https://github.com/conceptdev/xamarin-forms-samples/blob/master/Todo/Todo.iOS/TodoItemCellRenderer.cs" rel="nofollow">here</a>.</p>
  
  <p>If I want to compile this I get</p>
  
  <blockquote>
    <p>Error CS0115: `HelloXamarinFormsWorld.iOS.EmployeeCellRenderer.GetCell(Xamarin.Forms.Cell, UIKit.UITableView)' is marked as an override but no suitable method found to override (CS0115) (HelloXamarinFormsWorld.iOS)</p>
  </blockquote>
  
  <p>These are my includes:</p>
  
  <pre><code>using System;
  using HelloXamarinFormsWorld;
  using Xamarin.Forms;
  using HelloXamarinFormsWorld.iOS;
  using UIKit;
  </code></pre>
  
  <p>How can I add a disclosure indicator to my table view cell?</p>