我正在使用 https://github.com/WenchaoD/FSCalendar在我的项目中。 MaximumSelectedDate 是一个只读属性。那么如何禁用 future 日期?
最佳答案
你应该使用委托(delegate)方法来解决这个问题
func maximumDate(for calendar: FSCalendar) -> Date {
return Date()
}
关于ios - 在 FScalendar swift 中禁用 future 日期选择,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42760793/