-
Notifications
You must be signed in to change notification settings - Fork 615
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
Set custom date #251
Comments
Yeah I second that. It's important for when a user has already selected a date but is returning back to the calendar view to change it |
Actually I believe I found the way to do it: |
I tried in that way too but I supposed that was the same as a click on a custom date. |
I haven't tried the situation you're describing personally, but I think the line above should work in your case if its called in the "viewDidLoad" or "viewWillAppear" methods of the view controller you want to launch the app with. In my case I call the function with the date I want to set the calendar too in the viewWillAppear method and it opens the calendar directly on the date I specified |
Hmm sounds strange - Im trying to call toggleViewWithDate(date) in viewDidLoad() but the calendar view does not react on it! Selection remains empty unless you tap on some date... |
Found a solution? |
not really.. seems it does not work at all unless shouldAutoSelectDayOnMonthChange is set to true, |
I can confirm this is quite strange behavior: I don't see any other way to render a calendar with a previous month. It appears that if one wants to load a calendar with a month in the past, one must call |
+1 |
Should be fixed in #387 |
Please I'd like to know if is now possibile to set a custom month/date in initialization phase of CVCalendar.
Thank you
The text was updated successfully, but these errors were encountered: