Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to remove Next Month Event Color #360

Closed
KushThakkar opened this issue Jul 7, 2016 · 2 comments
Closed

I want to remove Next Month Event Color #360

KushThakkar opened this issue Jul 7, 2016 · 2 comments

Comments

@KushThakkar
Copy link

Please check below Image -
I want to remove next and previous month color -
screen shot 2016-07-07 at 11 24 54 am

Thanks & Regards,
Kush Thakkar

@WenchaoD
Copy link
Owner

WenchaoD commented Jul 7, 2016

@KushThakkar Will consider this in later version. Thanks.

@KushThakkar
Copy link
Author

KushThakkar commented Jul 7, 2016

I got the Answer (You can close the issue) : -
func calendar(calendar: FSCalendar, appearance: FSCalendarAppearance, fillColorForDate date: NSDate) -> UIColor? {
if (arrPresentDays.contains(date.formatterDay)){
if(date.monthNO == strCurrentMonth){
return UIColor(hexString: "77cc33")
}
}
else if (arrAbsentDays.contains(date.formatterDay)){
if(date.monthNO == strCurrentMonth){
return UIColor(hexString: "ff0000")
}
}
else{
return UIColor.clearColor()
}
return UIColor.clearColor()
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants