You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After implementing the start date and end date of the calendar by proxy, and setting the titlePlaceholderColor and subtitlePlaceholderColor properties of appearance, I found that when I swipe to the month with the largest date, titlePlaceholderColor, subtitlePlaceholderColor Only the color number 1 is valid. All others are invalid. The same is true after looking at the custom style code _calendar.appearance.titlePlaceholderColor = UIColor.redColor; _calendar.appearance.subtitlePlaceholderColor = UIColor.redColor;
`- (NSDate *)minimumDateForCalendar:(FSCalendar *)calendar
{
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
dateFormatter.dateFormat = @"yyyy-MM-dd";
return [dateFormatter dateFromString:@"2024-01-01"];
}
After implementing the start date and end date of the calendar by proxy, and setting the titlePlaceholderColor and subtitlePlaceholderColor properties of appearance, I found that when I swipe to the month with the largest date, titlePlaceholderColor, subtitlePlaceholderColor Only the color number 1 is valid. All others are invalid. The same is true after looking at the custom style code
_calendar.appearance.titlePlaceholderColor = UIColor.redColor; _calendar.appearance.subtitlePlaceholderColor = UIColor.redColor;
`- (NSDate *)minimumDateForCalendar:(FSCalendar *)calendar
{
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
dateFormatter.dateFormat = @"yyyy-MM-dd";
return [dateFormatter dateFromString:@"2024-01-01"];
}
{
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
dateFormatter.dateFormat = @"yyyy-MM-dd";
return [self.gregorian dateByAddingUnit:NSCalendarUnitYear value:1 toDate:[dateFormatter dateFromString:@"2024-01-01"] options:0];
}
`
The text was updated successfully, but these errors were encountered: