Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Week Days Label IN Upper Case #478

Closed
rintoandrews90 opened this issue Nov 9, 2016 · 10 comments
Closed

Set Week Days Label IN Upper Case #478

rintoandrews90 opened this issue Nov 9, 2016 · 10 comments

Comments

@rintoandrews90
Copy link

rintoandrews90 commented Nov 9, 2016

Hi

How can set week days label in capital letters Like (SUN,MON , etc)

i have used

_calenderView.appearance.caseOptions = FSCalendarCaseOptionsHeaderUsesUpperCase;

but its not working

can you please give me and idea

i have faced other issue i have set titleoffset

_calenderView.appearance.titleOffset = CGPointMake(0, 2);

its seem perfect, but while selecting a cell text goes down.
is there any way to fix in correct location
Thanks

@yigityuksel
Copy link

for your first question, you can use this option :

_calenderView.appearance.caseOptions = FSCalendarCaseOptionsWeekdayUsesDefaultCase | FSCalendarCaseOptionsWeekdayUsesUpperCase;

@rintoandrews90
Copy link
Author

thanks.

@rintoandrews90
Copy link
Author

can you please check title offset issue i have faced
thanks

@yigityuksel
Copy link

could you provide screen shoots for that issue ?

@WenchaoD
Copy link
Owner

Same request as @yigityuksel . And can you provide more information as the issue template requested?

@rintoandrews90
Copy link
Author

Thanks for support

i have set tittleOffset (0,3)

its perfect for unselected dates, but when i select a date date text is shown bit below.

please check images attached

please help to fix this issue

screen shot 2016-11-11 at 7 32 30 pm
screen shot 2016-11-11 at 7 32 50 pm

@WenchaoD
Copy link
Owner

Still cannot reproduce. If you have a demo for this, please feel free to send.

@Hardiktspaceo
Copy link

Hardiktspaceo commented Oct 8, 2018

For swift 4 use below code

calendarVw.appearance.caseOptions = FSCalendarCaseOptions.weekdayUsesUpperCase

@zacharyhardin1
Copy link

For both HeaderTitle and WeekDay, you can do the following:

calendarView.appearance.caseOptions = [.headerUsesUpperCase, .weekdayUsesUpperCase]

@Gx952743985
Copy link

谢谢你的支持>> 我设置了tittleOffset(0,3)>>它非常适合未选择的日期,但当我选择日期时,文本如下所示。>> 请检查所附图像>> 请帮助解决这个问题>> ![屏幕截图2016-11-11晚上7 32 30](https://cloud.githubusercontent.com/assets/16162588/20179635/2cfb3982-a77d-11e6-84af-15a2727ea60d.png)![屏幕截图2016-11-11晚上7 32 50](https://cloud.githubusercontent.com/assets/16162588/20179637/2f6545be-a77d-11e6-9fe1-9620a422723b.png)规定浓度
最后怎么解决的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants