PGDatePicker使用

Posted limaofuyuanzhang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PGDatePicker使用相关的知识,希望对你有一定的参考价值。

简介

一个支持多种形式的日期选择器,日期选择器,支持年、年月、年月日、年月日时、年月日时分、年月日时分秒、月日、月日时、月日时分、月日时分秒、时、时分、时分秒、分秒、月日周 时分等。

具体使用可以看github说明。

github地址

测试

默认

    PGDatePickManager *datePickManager = [[PGDatePickManager alloc] init];
    PGDatePicker *datePicker = datePickManager.datePicker;
    datePicker.delegate = self;
    [self presentViewController:datePickManager animated:false completion:nil];

以上是关于PGDatePicker使用的主要内容,如果未能解决你的问题,请参考以下文章