目标:月份切换、年份切换、日期区间选择
Demo:https://github.com/huisedediao/XBCalendar
效果图:
XBCalendar.gif使用:
CalendarSheet *sheet = [[CalendarSheet alloc] initWithDisplayView:[UIApplication sharedApplication].keyWindow];
sheet.doneBlock = ^(NSArray * _Nonnull arrSelectedDays) {
};
[sheet show];
网友评论