5

I'm using FSCalendar and need the week view to always begin at today and then show a week's worth.

Anyone know how to do this?

Thanks.

kakubei
  • 5,321
  • 4
  • 44
  • 66

1 Answers1

8

You can change the first week day of the calendar.

override func viewDidLoad() {
    self.calendar.firstWeekday = 3
}

set 1 for sunday, 2 for monday and so on...

more information at: http://cocoadocs.org/docsets/FSCalendar/2.7.9/Classes/FSCalendar.html#//api/name/firstWeekday

Anderson
  • 98
  • 2
  • 6