scrollview bar on CollectionView

class MyRenderer : CollectionViewRenderer
{
    protected override void OnElementChanged(ElementChangedEventArgs e)
    {
        base.OnElementChanged(e);

        if(Control != null)
        {
            NSArray s = Control.ValueForKey(new NSString("_subviewCache")) as NSMutableArray;
            UICollectionView c = s.GetItem(0);
            c.ShowsVerticalScrollIndicator = false;
        }
    }
}

你可能感兴趣的:(scrollview bar on CollectionView)