Calendar for Xamarin.iOS: Localization
By defualt, TKCalendar
uses the current system locale and calendar settings. However, it allows for specifying those settings explicitly, overriding the system settings. This article describes how to do this.
The Calendar
property of TKCalendar
specifies the NSCalendar
to be used. You can use this property to change the first day in week to Monday for example:
Or, you can change the calendar with one specific for your users:
Month names and week day names are provided by the Locale
property. Use the following code to customize the current locale:
After modifying the locale you should call the update:
method for the presenter: