I am Using in this project FFCalendar. How Possible to add The Start Date and End Date for Adding The Events in FFCalendar. Please Tell me the Solution.
我在这个项目FFCalendar中使用。如何添加FFCalendar中添加事件的开始日期和结束日期。请告诉我解决方案。
Default Calendar in Ipad Example:StartDate Select - Today Date Time:05.30 AM End Date Select - 2014-10-29 Time:11.30 AM
Ipad中的默认日历示例:StartDate Select - 今天日期时间:05.30 AM结束日期选择 - 2014-10-29时间:11.30 AM
but FFCalendar only Adding Events for Start Date only.. How possible to add the enddate (FFCalendar project) to Displayed the Events for Default Calendar(Please Refer Default Calendar). Please Tell me the Solution..
但FFCalendar仅为开始日期添加事件..如何可以添加enddate(FFCalendar项目)以显示默认日历的事件(请参阅默认日历)。请告诉我解决方案..
Refer this Link:((FFCalendar Project) https://github.com/fggeraissate/FFCalendar
请参阅此链接:((FFCalendar Project)https://github.com/fggeraissate/FFCalendar
1 个解决方案
#1
0
here I see what you need in your source code.
在这里,我看到你的源代码需要什么。
- (NSMutableArray *)arrayWithEvents {
......
[event1 setDateTimeBegin:[NSDate dateWithHour:10 min:00]];
[event1 setDateTimeEnd:[NSDate dateWithHour:15 min:13]];
.......
return [NSMutableArray arrayWithArray:@[event1];
}
hope that help !
希望有所帮助!
#1
0
here I see what you need in your source code.
在这里,我看到你的源代码需要什么。
- (NSMutableArray *)arrayWithEvents {
......
[event1 setDateTimeBegin:[NSDate dateWithHour:10 min:00]];
[event1 setDateTimeEnd:[NSDate dateWithHour:15 min:13]];
.......
return [NSMutableArray arrayWithArray:@[event1];
}
hope that help !
希望有所帮助!