cancel
Showing results for 
Search instead for 
Did you mean: 

set the selected date on FUICalendarView

0 Kudos

I am trying to set the selected date (in code) to something else than todays date on a FUICalendarView configured as a .monthView. The selectedDates property is however a get only property and I am not able set the date when I create the view.

Any thoughts on how to set the selected date?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hey Florian. Thank you for the answer. 'selectDate' is however inaccessible due to 'internal' protection level.

pfefferf
Active Contributor
0 Kudos

FUICalendarView provides a function "selectDate" which accepts a parameter typed to struct DateSegmentType (because FUICalenderView uses JTAppleCalendar). Of struct DateSegmentType the property monthDates must be supplied.