php
c
linux
xcode
android
mysql
objective-c
visual-studio
eclipse
html5
json
perl
algorithm
oracle
delphi
apache
mvc
api
jsp
dom
Here is a good tutorial to create a UIPicker yourself UIPicker tutorial. Then you can use [self presentModalViewController:picker] to present a modal view controller when user click on the text field. I hoped that you know how to handle text field event
I think this is a more official way to do this:
UIDatePicker *datePicker = [[[UIDatePicker alloc] init] autorelease]; datePicker.datePickerMode = UIDatePickerModeDate; [datePicker addTarget:self action:@selector(datePickerValueChanged:) forControlEvents:UIControlEventValueChanged]; datePicker.tag = indexPath.row; textField.inputView = datePicker;
Try this -- very helpful
https://github.com/larsacus/LARSSlidingPicker