Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jagatnibas

macrumors regular
Original poster
Jul 28, 2008
126
0
Hi All,
I am trying to put a datepicker inside table cell. The date picker size does not seem to reduce to be fit inside the table cell. Also when cell is selected the date picker becomes un responsive. If i make cell selection style none, date picker also becomes unresponsive.

any good ideas how to achieve that ? a date picker inside a teble cell ?

regards
 
first off, you may want to increase the height of that row - but do it in tableView:heightForRowAtIndexPath: as opposed to just setting the height of the UITableViewCell object. then i guess all you have to do is to add the date picker to the cell - that should work easily since the date picker is a UIView. and work out your table view settings such that cells would never get selected.

are you sure you're not better off using a UIScrollView instead of a table view?...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.