Hi there

Try this:

https://gist.github.com/1705400

I needed a date picker which has the date thing as a keyboard, which
this does. It also allows the setting of a max and min date.

I'd be tempted to add in a toolbar above the date picker view, which
dismissed it (resignfirstresponder), but I think I took it out of this
one.

You can see this picker in action in Earnest (free!):
http://earnestapp.com - just add a new entry, and there are 2 date
pickers on there.

The iOS date pickers are a PITA, in my opinion, as they dont handle
timezones we AT ALL - hence why there is a lot of conversion and debug
code in there. I didn't notice it until I went to New Zealand
(GMT+13), as I'm normally in the UK (GMT/GMT+1).

Might be good as a starting point if nothing else.

N

On Thu, Apr 12, 2012 at 04:46, krispykarim <[email protected]> wrote:
> Hey guys,
>
> I'm looking to have a view set up that allows me to set a start date, start
> time with an end date, end time on a table, with the DateTime Picker always
> visible, and changing when you click either start field or end field. I also
> need it to have a confirm selection button that will take you back to
> another tableview with your selections populated into elements.
>
> MT.d will switch screens and load a picker, centered vertically, over a
> black background. I would like to avoid this if at all possible. Can anyone
> direct me to resources that could help me achieve this?
>
> Do I need to make custom elements? Is there any more documentation out there
> on making custom elements?
>
> Thank you!
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/MonoTouch-Dialog-DateElement-Customization-tp4550894p4550894.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to