title: How to use UITableView for TextField input view
body: <p>I currently have an app which uses UIPickerViews to allow users to select which answer they want for a text field (to avoid spelling mistakes etc).</p>
  <p><a href="https://i.stack.imgur.com/Gr1Kl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gr1Kl.png" alt="Screenshot of form with UIPickerView" /></a></p>
  <p>However, I have found that the UIPickerView isn't really what I want to use because I haven't had great feedback from it when testing.</p>
  <p>I have done some research into how to use a UITableView for text field inputs instead, so when the user clicks the Textfield, the user segues to a UITableView with the same options which would be provided by the UIPickerView. Once they click the cell with the option they are looking for it would segue back to the form with the result chosen inside the text field. I thought this would be a better user experience as I could also implement the search to help users narrow down the option they require quicker.</p>
  <p>I have been trying to get this to work for a while now, but I'm quite new at coding and haven't been able to crack it yet. I would just like advice on how to approach this? I'm using Swift and the Storyboard to create my app.</p>
  <p>Would I need to create a separate ViewController with a UITableView that loads the options and then move the value back to the form once the cell is clicked?</p>