Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios PDTSimpleCalendar设置范围日历_Ios_Objective C_Iphone_Xcode - Fatal编程技术网

Ios PDTSimpleCalendar设置范围日历

Ios PDTSimpleCalendar设置范围日历,ios,objective-c,iphone,xcode,Ios,Objective C,Iphone,Xcode,在我的iOs应用程序中,由其他开发人员开发并设置SimpleCalendar。 但是现在我想设置RangeCalendar而不是SimpleCalendar。 但是,我不知道怎么做。我没有更多的经验。 其他开发人员代码如下: DatePickerViewController.h文件 @interface DatePickerViewController : PDTSimpleCalendarViewController{ } DatePickerViewController是简单的视图控制器

在我的iOs应用程序中,由其他开发人员开发并设置SimpleCalendar。 但是现在我想设置RangeCalendar而不是SimpleCalendar。 但是,我不知道怎么做。我没有更多的经验。 其他开发人员代码如下:

DatePickerViewController.h文件

@interface DatePickerViewController : PDTSimpleCalendarViewController{
}
DatePickerViewController是简单的视图控制器

在DatePickerViewController.m文件中

(void)viewDidLoad {
[super viewDidLoad];

[self setDelegate:self];
self.weekdayHeaderEnabled = YES;
self.weekdayTextType = PDTSimpleCalendarViewWeekdayTextTypeShort;
[[PDTSimpleCalendarViewCell appearance] setCircleSelectedColor:[UIColor defaultColor]];
[[PDTSimpleCalendarViewHeader appearance] setTextColor:[UIColor defaultColor]];
}
PDTSimpleCalendar演示

所以,请指导我并帮助我在哪里设置以及在哪里更改设置日历的代码