效果圖根據年份顯示當年日曆
使用方式,具體可下載demo進行查看或修改
UIScrollView* scrollView = [[UIScrollView alloc] init];
JXCalenderView* calenderView = [[JXCalenderView alloc] initWithFrame:CGRectMake(0,0 , 350, 1200 ) startYear:@"2018"];
[scrollVieww addSubview:_calenderView];
Demo下載地址:https://github.com/tietaowang/MasterCalender