Skip to main content

Date Picker And Table View



I'm working on a project on iPhone and I want a Date Picker on a few of the rows in the table view.





Please help me out.


Comments

  1. If this is a StaticCell TablieView, then you can just add these via storyboard.

    If not, you will need to use the cellForRowAtIndexPath to determine which cell you want to add the datepicker to. You would then instantiate a UIDatePicker, set the attributes if needed and add that subview to your cell.

    One warning - using something this large in an iPhone TableView app will result in a crappy user experience.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?