title: How to make date picker appear on button click as date picker is in top bar of view controller
body: <p>As I put date picker in top bar of the controller as well as the tool bar too, to save the space on the view controller for clarity.<br></p>
  
  <p>But, what should I do, so that picker view will appear with toolbar on button click and disappear on button click.</p>
  
  <p>Refer below mentioned image for more details.
  <a href="https://i.stack.imgur.com/sUPWK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sUPWK.png" alt="enter image description here"></a></p>
  
  <p>Can anyone help me on this issue?<br></p>