14
Jan
09

Class: UICCalendarPicker

So you don’t like the looks of UIDatePicker and would prefer a conventional looking calendar view instead? Well, look what we have for you here:

uiccalendarpicker

Very nice, yes? Source available here for use freely (New BSD) courtesy of one Kishikawa Katsumi. Not being fluent in written Japanese (although ordering sushi and sake, that we do practice a lot) most of that is fairly mysterious to us, but if you’re better at that, try here or here for more details. The essence of it appears fairly clear, though:

UICCalendarPicker *calendarPicker = [[UICCalendarPicker alloc] initWithSize:UICCalendarPickerSizeMedium];
[calendarPicker setDelegate:self];
[calendarPicker setSelectionMode:UICCalendarPickerSelectionModeMultiSelection];
[calendarPicker showInView:self.view animated:YES];
[calendarPicker release];

h/t: iphonesdk!


2 Responses to “Class: UICCalendarPicker”


  1. 1 Naren Jan 28th, 2009 at 2:26 am

    Hi,
    can we set some remainders to iphone calendar with this class,
    like through my application i am calling iphone calendar,
    and then i want to add remainder for that.
    is it possible ?
    please reply

  2. 2 Alex Jan 28th, 2009 at 8:17 am

    I don’t believe there is any write access through the SDK, no.

Leave a Reply