jtcalendar

How to show 3 events on same date on calendar from web service in Objective C

倖福魔咒の 提交于 2019-12-14 03:44:45
问题 I am new in iOS and I am facing problem regarding to show multiple events on same date.I am using JTCalendar. My code is like this In ViewDidLoad _calendarManager = [JTCalendarManager new]; _calendarManager.delegate = self; [self createMinAndMaxDate]; [_calendarManager setMenuView:_calendarMenuView]; [_calendarManager setContentView:_calendarContentView]; [_calendarManager setDate:_todayDate]; In viewWillAppear I code to change colour according to web service [self

Disabling previous date, month, year JTAppleCalendar in iOS using Swift 3.0

跟風遠走 提交于 2019-12-11 01:27:17
问题 I am using this library: https://github.com/orazz/CalendarPopUp Let's say I have a date for registration of user and it's 28/9/2017. Now I want to only enable dates between next date, month and year. Previous dates, month and year should be disabled. How can I do that? How do I disable scrolling and selecting of previous date and month? 回答1: Use this to set minimum and maximum date. You can change any component like Day, month, year. Objective c NSCalendar *calendar = [[NSCalendar alloc]