protected UIImage GetFilteredImage(UIImage image, UIColor color) { var rect = new RectangleF(0, 0, image.Size.Width, image.Size.Height); UIGraphics.BeginImageContext(rect.Size); CGContext context = UIGraphics.GetCurrentContext(); context.ClipToMask(rect, image.CGImage); context.SetFillColorWithColor(color.CGColor); context.FillRect(rect); UIImage img = UIGraphics.GetImageFromCurrentImageContext(); UIGraphics.EndImageContext(); return(new UIImage(img.CGImage, 1, UIImageOrientation.DownMirrored)); }