tags:

views:

1303

answers:

3

Hello,

I would like to know whether we can create a calendar using NSCalender and show it in our dedicated application. We can create a NSCalender object by

**NSCalendar *japaneseCalendar = [[NSCalendar alloc] initWithCalendarIdentifier : NSJapaneseCalendar];**

But how can we show this calender in out application. Is there any way to show the default calander in our application when a user click a button.

Please please guide me, i am hanging here for last few days.

Thank You Rahul

+1  A: 

NSCalendar has nothing to with the Calendar app on the iPhone, it's simply a class used to represent a calendar for whatever reason you need one.

I'm not sure that this can be done on the iPhone from within an app.

-

After re-reading your question, I think I misunderstood what you were asking.

If you want to display some kind of calendar view within the app using that particular calendar, you'll have to create you own view and draw the calendar into it.

You may be able to find some code on the internet to accomplish this already.

Jasarien
A: 

hi,

you understand me well.you are not confused.may be i wrote too much. thank you very much, i got answer from you.

yes i want to interact with calendar and when user touch a date i want to calculate few things.so if iphone calendar is not giving that support then i have to use kcalender.I just want to make sure.

thank you very much

Good to hear. If you found my answer helpful, would you consider selecting it as the chosen answer for this question?Thanks!
Jasarien
A: 

I too would like to do this. I want to use the date picker and ask the user "Do you want to add this to your calendar?"

Mark Lutton