1
如何配置FSCalendar以支持RTL语言数字?为RTL定制FSCalendar
下面是我使用
FSCalendar *calendar = [[FSCalendar alloc] initWithFrame:CGRectMake(0, 0, 300, 320)];
calendar.dataSource = self;
calendar.delegate = self;
calendar.backgroundColor = [UIColor whiteColor];
calendar.appearance.headerMinimumDissolvedAlpha = 0;
calendar.appearance.caseOptions = FSCalendarCaseOptionsHeaderUsesUpperCase;
calendar.scrollDirection = FSCalendarScrollDirectionHorizontal;
calendar.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"ar_AE"];
当我启动日历视图,我不能得到的日期,使用正确的语言符号
显示正如你所看到的只是部分内容的代码显示正确。我在iOS 10上。
@WenchaoD对如何让这个工作有什么想法?
FSCalendar不支持RTL模式,请检查该吊舱:https://github.com/MosheBerman/MBCalendarKit – Maor
不支持RTL。尝试使用[This one](https://github.com/patchthecode/JTAppleCalendar)。找到完整教程[Here](https://www.youtube.com/watch?v=wyh_DVFeH_w&list=PLpqJf39XekqyUG7dxcqGO0JNprryysv9Q) –