Display datepicker when tapping on UISearchController (Searchbar)
<p>I am using <code>UISearchController</code> programmatically, While tapping on <code>Searchbar</code> <code>textField</code>  I want to be set <strong>Date picker  as inputView</strong> </p>

<pre><code>@property (strong, nonatomic) UISearchController *searchController;
</code></pre>

<p>References for text field : <a href="https://stackoverflow.com/questions/11197855/iphone-display-date-picker-on-uitextfield-touch">iPhone display date picker on UITextField touch</a><br>
But unable to  able to access Search bar Textfield. Please help.  </p>