Swift UIButton Click To Show UIPickerView and Select ID show on Button Title : MY Scenario, I am trying to create `button` click to open `pickerview` and selected picker data show on button title using swift. Here, `Toolbar` also I would like to add into the pickerview controller.

     let button = UIButton(type: .custom)
      button.setTitle("",for: .normal)
      button.frame = CGRect(x: CGFloat(amount_textfield.frame.size.width - 9), y: CGFloat(5), width: CGFloat(9), height: CGFloat(20))
      button.addTarget(self, action: #selector(self.refresh), for: .touchUpInside)
      amount_textfield.leftView = button
      amount_textfield.leftViewMode = .always
    
     @IBAction func refresh(_ sender: Any) {
    	// Here, I need to execute picker view 
     }