title: how to make a slider appear when a button is pressed in Swift?
body: <p>i'm making a draw application, and i want a slider to appear when the user taps on a button, for example to set the width of a line . 
  Can I just add an alert and put a slider in it ?</p>