title: Xamarin Forms: How to change background from gray on selected item in listview, iOS
body: <p>I am unable to change the background color on the selected item in a listview from gray on iOS. I am using Xamarin.Forms 2.3.4.192-pre2, before I used 2.3.3 with the same result.</p>
  
  <p>I have tried to impalement a custom renderer:</p>
  
  <pre><code>using App.Views.View.List;
  using UIKit;
  using Xamarin.Forms;
  using Xamarin.Forms.Platform.iOS;
  
  [assembly: ExportRenderer(typeof(NoSelectionViewCell), typeof(App.iOS.Views.List.NoSelectionViewCellRenderer))]
  namespace App.iOS.Views.List
  {
      public class NoSelectionViewCellRenderer: ViewCellRenderer
      {
          public override UITableViewCell GetCell(Cell item, UITableViewCell reusableCell, UITableView tv)
          {
              UITableViewCell cell = base.GetCell(item, reusableCell, tv);
              cell.SelectionStyle = UITableViewCellSelectionStyle.None; // This does nothing ...
              // cell.SelectionStyle = UITableViewCellSelectionStyle.Blue; // This does nothing ...
              // cell.SelectionStyle = UITableViewCellSelectionStyle.Default; // This does nothing ...
              // cell.SelectionStyle = UITableViewCellSelectionStyle.Gray; // This does nothing ...
              if (cell != null)
              {
                   cell.SelectedBackgroundView = new UIView
                   {
                       BackgroundColor = UIColor.Red, // This doesn't matter ...
                   };
              }
  
              UpdateBackground(cell, item); // This doesn't seem to do anything ...
  
              return cell;
          }
      }
  }
  </code></pre>
  
  <p>I want the background to be transparent.</p>