UIDatePicker inside UITableViewCell created in UITableViewController by Xcode 6.1 for iOS 7.1 dev. How to fix it ?

UIDatePicker inside UITableViewCell created in UITableViewController by Xcode 6.1 for iOS 7.1 dev. How to fix it ?

Copyright © 2021 Jogjafile Inc.
In my opinion, the best way to use and datePicker, with a tableView where you have a UITextField. (If you have a label, change this to a UITextField). It´s put the datePicker as inputView of the textField. Here an example: