I have a tableView with prototype cells. It loads the cell data based on a chosen date. I want to have a button (UIBarButton or UIButton) that displays a datePicker with the same behavior as an inputView from a UITextField (e.g the birthday datePicker on the Contacts app).
I found this solution: How do I make a modal date picker that only covers half the screen? but that is for tapping a UITextField and not a UIButton.
Is there a way to display an inputView from a button tap? If not, how can I emulate the same behavior for a PickerView?
Thanks in advance,
Juliano