Hi All,
I used the graphical control date picker before and I did not have any problem with updating of the date. The calendar automatically switches the date if there is a need to. However, with the textual date picker this date-updating does not happen at all. I have to manually update the date.
Is this how this textual date picker is supposed to be? I kind of doubt it as it seems odd that it does not update whereas the graphical one updates. Or, is the date-updating supposed to be coded when using the textual control date picker? Again, it would be surprising that it is coded in the graphical one but not in the textual one.
I am lost. Help would be very much appreciated.
TIA.
archseed
I think this is standard behavior. When using a text date picker, my experience is that it shows the date the program was compiled (or when the control was created in Interface Builder). What I did was turn on the “awake from nib” handler and stick in the current date/time at that time.
Hi,
Thanks for the feedback.
Actually, that’s what I always do…on awake from nib, store the current date in the text date picker. However, when I advance the time to a time past midnight, the date does not change automatically whereas in the graphical date picker, this change is automatic.
My point is: if this is implemented in the graphical date picker, how come it isn’t in the textual date picker? I just can’t see the logic there. Programmatically, I can implement this but it just adds a little more burden when it does not have to.
Thanks anyhow.
archseed