- Home
- Forum
- Xamarin.Forms
- Sf Schedule MonthView appointment appears differently on IOS.
Sf Schedule MonthView appointment appears differently on IOS.
Dear support
I do have an issue with the appearance of "All-Day"-Appointments in the schedule monthview.
On Android those are shown correctly as one Day appointment, but on IOS those appear as two day appointment.
Find the screenshots attached.
IOS:
https://i.imgur.com/ljChvG0.png
https://i.imgur.com/SB8qZHG.png
Android:
https://i.imgur.com/uUA6tsm.png
https://i.imgur.com/kPcecEq.png
Best Regard
Patrick
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
MS
Muniappan Subramanian
Syncfusion Team
October 22, 2020 08:50 AM UTC
Hi Patrick,
Thank you for contacting Syncfusion support.
We have checked the reported issue “SfSchedule MonthView appointment appears differently on IOS. “and it’s working fine from our end. We have checked in the scenario of by setting your Time Zone and our Time Zone the appointments are rendered properly. We checked the latest version of SfSchedule (18.3.0.42). We have prepared a simple sample for the same, please find the sample by the following link.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ScheduleXamarin1844410468
Please check the sample, if it doesn’t meet your requirement, kindly modify the sample based on your scenario and revert us back with replication procedure.
We hope that this helps you, kindly revert us if you have any concern.
Regards,
Muniappan S.
Marked as answer
PA
Patrick
October 22, 2020 09:27 AM UTC
Dear Support
I used version 18.3.0.35. I will try the newest version and see if it works.
br
Patrick
SS
SaiGanesh Sakthivel
Syncfusion Team
October 23, 2020 11:59 AM UTC
Hi Patrick,
Thanks for the update.
We will wait until your further response.
Regards,
SaiGanesh Sakthivel
PA
Patrick
October 28, 2020 06:35 AM UTC
Dear support
I did find the root cause, but I don't if it is an issue of the control or of the IOS native framework.
For End of day I used this mechanic:
public static DateTime EndOfDay (this DateTime value)
{
return value.Date.AddDays(1).AddTicks(-1);
}
Android recognizes that this is the same day, but IOS does recognize this is the next day.
I could solve the problem by subtracting 60 seconds, instead of 1 tick.
Best Regards
Patrick
SS
SaiGanesh Sakthivel
Syncfusion Team
October 29, 2020 12:11 PM UTC
Hi Patrick,
Thank you for the update.
We are glad to know that you have resolved the issue. Please let us know if you need any further assistance.
Regards,
SaiGanesh Sakthivel
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
- Marked answer
-
PA Patrick
- Oct 21, 2020 07:21 AM UTC
- Oct 29, 2020 12:11 PM UTC