Xamarin Forms: SpecialDate feature is not working in ios devices.

Sreejith Sree 1,251 Reputation points
2020-12-11T14:43:44.2+00:00

I am using XamForms.Enhanced.Calendar in my project and I am marking special dates on it. It is working fine on the android device like the below screenshot but not showing the special dates on the ios device:

Android Screenshot:

47433-1607697386767.jpg

IOS Screenshot:

47654-1607870155918.jpg

My code:

SpecialDate newDate = new SpecialDate(dateTime)
{
Selectable = true,
BackgroundPattern = new BackgroundPattern(1)
{
Pattern = new List<Pattern>
{
new Pattern { WidthPercent = 1f, HightPercent = 0.7f, Color = Color.White },
new Pattern{ WidthPercent = 1f, HightPercent = 0.3f, Color = Color.FromHex("#f39c12"), Text = model.title.Replace("'", "'"), TextColor=Color.Black, TextSize=10, TextAlign=TextAlign.LeftCenter},
}
},
//BackgroundColor = Color.FromHex("#fec208"),
//TextColor = Color.White
};

In Ios device only showing dates, no event details are showing in calendar. Are there any additional settings do I need to add for showing the special dates on the Calendar?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
0 comments No comments
{count} votes

Accepted answer
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
    2020-12-14T07:03:10.433+00:00

    Hello,

    Welcome to Microsoft Q&A!

    I test the sample , it works on both iOS and Android .

    Could you try the demo to see if problem persists ?

    47857-captu2re.png47828-capture.png

    Thank you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful