How do I programmatically render a view that has exposed filters? I can call a view with contextual filters without any problem, but when I add exposed filter value $view->setExposedInput to the call, I just does not work, the exposed value is not applied and being ignored. The filter 'price' field is set in the views filters options and i tried both exposing it and not exposing it to visitors without any luck. 
I call this view from my controller class and I need to pass the arguments to both filters and I do not need exposed form to be displayed to the user.

$view = Views::getView($view_id);
if (is_object($view)) {
  $filters = [
       'price' =&gt; 500, //my exposed filter value       
     ];      
  $view-&gt;setExposedInput($filters);
  $view-&gt;setArguments($args);
  $view-&gt;setDisplay($display_id);
  $view-&gt;preExecute();
  $view-&gt;execute();
  $view-&gt;buildRenderable($display_id, $args);
  $content = $view-&gt;render();
}
You can use this code in custom block can also set permission.

 use Drupal\Core\Form\FormState; 
 use Drupal\views\Views; 
   $form = []; 
   $view_id = 'blog_landing_page'; 
   $display_id = 'page_1'; 
   $view = Views::getView($view_id);     
   if ($view) { 
   $view-&gt;setDisplay($display_id); 
   $view-&gt;initHandlers(); 
 $form_state = (new FormState()) 
  -&gt;setStorage([ 
   'view' =&gt; $view, 
   'display' =&gt; &amp;$view-&gt;display_handler-&gt;display, 
   'rerender' =&gt; TRUE, 
   ]) 
   -&gt;setMethod('get') 
   -&gt;setAlwaysProcess() 
   -&gt;disableRedirect(); 
   $form_state-&gt;set('rerender', NULL); 
 $form = \Drupal::formBuilder()-&gt;buildForm('\Drupal\views\Form\ViewsExposedForm', $form_state); 
    }