Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to current calendar page month and year #345

Closed
mohsinalimat opened this issue Jun 25, 2016 · 8 comments
Closed

how to current calendar page month and year #345

mohsinalimat opened this issue Jun 25, 2016 · 8 comments

Comments

@mohsinalimat
Copy link

how to current calendar page month and year?

@WenchaoD
Copy link
Owner

[calendar setCurrentPage:date animated:animated];

@mohsinalimat
Copy link
Author

Thanks but how to know which month diplay in currnet calendar

Sent from my iPhone

On 26-Jun-2016, at 9:43 AM, Wenchao Ding notifications@github.com wrote:

[calendar setCurrentPage:date animated:animated];

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@WenchaoD
Copy link
Owner

This will return a NSDate contains year and month.

NSDate *currentPage = calendar.currentPage;

@mohsinalimat
Copy link
Author

Ok and one more question when calendar display which delegate method call
in your code?

On Sun, 26 Jun 2016 at 12:14 PM, Wenchao Ding notifications@github.com
wrote:

This will return a NSDate contains year and month.

NSDate *currentPage = calendar.currentPage;


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#345 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA7bbGvKJaEdaTpqLYtCeQccEBV5uh55ks5qPh_QgaJpZM4I-TM2
.

@WenchaoD
Copy link
Owner

There isn't. I think what u need is something like viewWillAppear: or viewDidAppear: of UIViewController.

@mohsinalimat
Copy link
Author

I want to reload tableview and i think is not best possible way

On Sun, 26 Jun 2016 at 12:44 PM, Wenchao Ding notifications@github.com
wrote:

There isn't. I think what u need is something like viewWillAppear: or
viewDidAppear: of UIViewController.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#345 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA7bbKZy6ZZUE7myPmFZymyk261kbviVks5qPibogaJpZM4I-TM2
.

@mohsinalimat
Copy link
Author

I have all records of event in this dictionary self.borderDefaultColors and i want to set up particular month list(mean filter in list) show in tableview but records as per lunar date events
simulator screen shot 27-jun-2016 11 14 32 am
.

@mohsinalimat
Copy link
Author

solve my issue with perform selector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants