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 show year in CALDayCollectionViewCellDayUIStyleIOS7? #11

Open
buguibu opened this issue Aug 6, 2014 · 1 comment
Open

How to show year in CALDayCollectionViewCellDayUIStyleIOS7? #11

buguibu opened this issue Aug 6, 2014 · 1 comment

Comments

@buguibu
Copy link

buguibu commented Aug 6, 2014

I'm using the dayStyle "CALDayCollectionViewCellDayUIStyleIOS7" and the year of the month isn't shown, what i have to do for display the agenda as in the center example of the image https://github.com/leverdeterre/CalendarIOS7/raw/master/Screenshots/Calendar.png ?

@leverdeterre
Copy link
Owner

Right, i'have change a method in the CALAgendaViewController.
monthAtIndexPath: selector return a string to configure the header section but the formater has change. The old code is still there (in comment), but a better approach would be to set an option on the controller to configure month or month + year

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