How to display events on Fscalender?
This is my code to fetch events from api call.
func SetUpUIDashBoardCalenderdata()
{
APIManager.sharedInstance.FetchParentDashboardCalenderDataFromURL(){(dashBoardCalenderJson)-> Void in
let…
I'm trying to reload FSCalendar using Dispatch main queue.
it works fine but it causes the calendar to jump all the way back to 1970
how can i prevent this from happening? or set the date to current date again ?
here is my…
I'm trying to get the date that the user selects via the didSelectDate function, but it's not getting called.
Here's my code:
func calendar(calendar: FSCalendar!, didSelectDate date: Date!) {
print ("this func is getting called")
}
What's the…
For setting the images i am doing like this
func calendar(_ calendar: FSCalendar, imageFor date: Date) ->
UIImage? {
let day: Int! = self.gregorian.component(.day, from: date)
if day == 6 || day == 10{
return…
How can I get month calendar start and end date?
From the screenshot, I need to get 1 aug 2017 and 31 aug 2017 in fscalender?
when i scroll then this method call but everytime get current date
- (void)calendarCurrentPageDidChange:(FSCalendar…
it was my previous question to simply display static data on FSCalendar using 2 arrays of present and absent days.
How to change background color of events array in FSCalendar swift 3?
now I want to fetch the present and absent dates from the…
I'm having an 2arrays of dates and want to set different colors for particular event please help how to do this.
I'm trying to implement following code but its not working its returning nil no color effects no error nothing m stucked on this please…
I am using FSCalender for ma project. I need to scroll the calender for getting next month.
I am using this code to get the change notification
func calendarCurrentMonthDidChange(_ calendar: FSCalendar!) {
print("Changed")
print("ss",ss)
…
Can you please tell me. I changed calendar identifier like this
but it shows a warning (Changing Calendar identifier is not recommended).
_calendar.identifier = NSCalendarIdentifierIslamic;
As my title, When I use FSCalendar's API selectDate. The headerDate According to 1970. That's my code.
NSDate *startDate = [NSDate date];
[_calendar selectDate: startDate];
i'm using FSCalendar library to make calendar on my app, but how to disable specific date in calendar.
for example if i have data 2017-04-30 30 April 2017 can't be selected.
Any idea how to make this?
i'm using FSCalendar and want to remove days (Sun, mon, Tue, Wed, Thu, Fri, and Sat) from calendar
for now i only change the color to clear
calendarView.appearance.weekdayTextColor = UIColor.clear
I am trying to get location of selected cell in FSCalendarView. (FSCalendar library). Though I am getting location from screen, but its not a perfect location as I want to show popup from that date cell.
I have done something like this, to get…