Questions tagged [fscalendar]

A calendar control for iOS7+

FSCalendar is an iOS7+ calendar control.

It is compatible with both and .

171 questions
0
votes
1 answer

FSCalender Not Showing Events on It?

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…
kishore
  • 3
  • 6
0
votes
1 answer

FSCalendar jumps to year 1970

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…
Farbod
  • 83
  • 1
  • 10
0
votes
2 answers

didSelectDate func is not getting called in FSCalendar in Swift

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…
Farbod
  • 83
  • 1
  • 10
0
votes
1 answer

How to change the image on selecting date in FSCalendar in swift 3.x?

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…
user3655325
0
votes
5 answers

How can I get First date and Last date of month in fscalender in ios?

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…
Maulik shah
  • 1,664
  • 1
  • 19
  • 45
0
votes
1 answer

How to make API call for this web service to fetch array of present and absent dates separately in swift?

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…
BugFinder
  • 147
  • 1
  • 9
0
votes
1 answer

How to change background color of events array in FSCalendar swift 3?

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…
BugFinder
  • 147
  • 1
  • 9
0
votes
2 answers

Get Current month and year from FSCalender -Swift

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) …
Saneesh
  • 1,796
  • 16
  • 23
0
votes
0 answers

How can i create combine Gregorian and Islamic(Hijri) FSCalendar

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;
Loki
  • 11
  • 6
0
votes
2 answers

How to make date cell selection with square instead of circle FSCalendar Swift 3

I'm using FSCalendar and the cell selection set to circle by default like this: how to make cell selection to square?
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
0
votes
0 answers

When I use FSCalendar's API :selectDate appear 1970

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];
0
votes
0 answers

FSCalender app crash when reload calender

App crash when i reload my calendar in - (void)calendar:(FSCalendar *)calendar didSelectDate:(NSDate *)date method. it showing error : - (void)calendar:(FSCalendar *)calendar didSelectDate:(NSDate *)date MYCODE : - (void)calendar:(FSCalendar…
V-Dev
  • 488
  • 1
  • 4
  • 16
0
votes
2 answers

How to Disable Specific Date in FSCalendar Libary Swift

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?
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
0
votes
2 answers

How to remove days in FSCalendar Swift library

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
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42
0
votes
2 answers

I want location of selected DateCell in FSCalendarVIew.How could I get?

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…
Saheb Singh
  • 555
  • 4
  • 18
1 2 3
11
12