i am trying to implement an arabic datepicker. after a small research (and found nothing) i found this as the only solution: (am i right?)
create a custom UIPickerView with 3 components for the days, months, and years.
the real problem is that i want to set a maximum date, for example [NSDate date].
do i have to code it all, or there is a simpler way of doing it… anything will help.
Thank you.
Since the approach madhu proposed was not general, i finally made my own Arabic date picker.
These are the .h and the .m files that may help someone someday… an instance of these files is added as a subview to another view containing various other cell types.
the code is very messy, and may contain super ugly and deep leeks, but it works (for now).
dateCell.h:
dateCell.m:
Thank you.