Skip to content

年月选择以及日期范围选择仿支付宝样式

License

Notifications You must be signed in to change notification settings

1552612373/YCDateFilter

Repository files navigation

YCDateFilter

Version License Platform

描述

本组件用于选择月份或日期范围

支持

iPhone / iPad

安装

YCDateFilter支持CocoaPods.

要安装它,只需将以下行添加到您的Podfile中:

pod 'YCDateFilter'

使用

@interface YCViewController ()

@property (nonatomic, strong) YCDateFilterViewController *filterVc;

@end
self.filterVc.modalPresentationStyle = UIModalPresentationOverFullScreen;
// 选择器回调
self.filterVc.dateRangeBlock = ^(NSString *startTime, NSString *endTime, NSString *showString) {
    
};
[self presentViewController:self.filterVc animated:YES completion:nil];
    

示例gif

作者

杨超, [email protected]

许可证

YCDateFilter is available under the MIT license. See the LICENSE file for more info.

About

年月选择以及日期范围选择仿支付宝样式

Resources

License

Stars

Watchers

Forks

Packages

No packages published