Skip to content

Instantly share code, notes, and snippets.

View varun-raj's full-sized avatar

Varun Raj Manoharan varun-raj

View GitHub Profile
@varun-raj
varun-raj / ExtendedSearchBarRenderer.cs
Created December 28, 2018 12:48 — forked from xleon/ExtendedSearchBarRenderer.cs
Xamarin.Forms renderer to hide the "Cancel" button of a SearchBar on iOS
using System;
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
using UIKit;
using System.Diagnostics;
[assembly: ExportRenderer(typeof(SearchBar), typeof(Namespace.iOS.Renderers.ExtendedSearchBarRenderer))]
namespace Namespace.iOS.Renderers
{