Change month programatically on button tap #115
-
Hello Kviatkovskii, I want to change the month with the tap of a button but I didn't find any method for it. Could you please help with that? Example: On the button tap, I want to change Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, 🤔 |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply, I got the answer right after dropping that question.
Best regards,
Rahul
…On Tue, 29 Dec, 2020, 2:44 pm Kviatkovskii Sergei, ***@***.***> wrote:
Hello, 🤔
You can subscribe on this method didSelectDate(_ date: Date?, type:
CalendarType, frame: CGRect?) then check the date and type.... and then
to change the date calendarView.set(.month, date: Date)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#115 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCOIZLLBEU7JF5G5ON74PDSXGMWPANCNFSM4VEJ3QMQ>
.
|
Beta Was this translation helpful? Give feedback.
Hello, 🤔
You can subscribe on this method
didSelectDate(_ date: Date?, type: CalendarType, frame: CGRect?)
then check the date and type.... and then to change the datecalendarView.set(.month, date: Date)