public static void SetTextColor(this UISearchBar bar, UIColor color) { bar.GetField().TextColor = color; }