I have a custom cell that contains a textField with a date in it and a button “ChangeDate”.
I want to present a new view with a UIDatePicker when the user decides to change the date. My problem is that the cell is not a controller.
I tried somehow to make the parent controller present the new view but failed. I am not sure if that is a good idea or what I’m doing wrong.
Please advise.
Thanks!
should do the trick, where PickerViewController is a UIViewController subclass with a pickerView and associated datasource/delegate methods.