Class ISN_UICalendar
Utility methods to work with iOS calendar.
Inheritance
System.Object
ISN_UICalendar
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UIKit
Assembly: cs.temp.dll.dll
Syntax
public static class ISN_UICalendar
Methods
PickDate(Action<DateTime>, Int32)
Allows user to pick a date using the native iOS calendar view.
Declaration
public static void PickDate(Action<DateTime> callback, int startFromYear = 0)
Parameters
Type | Name | Description |
---|---|---|
Action<DateTime> | callback | Callback with picked date once user is finished. |
System.Int32 | startFromYear | Optional. Year the calendar will start from. |
PickDate(Int32, Int32, Boolean, Action<DateTime>)
Allows user to pick date using the native iOS calender view.
Declaration
public static void PickDate(int startFromYear, int endYear, bool isStartsFromSunday, Action<DateTime> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startFromYear | Year the calendar will start from. |
System.Int32 | endYear | Year the calendar will start end. |
System.Boolean | isStartsFromSunday | Set is Sunday should ne first day of the week or not. |
Action<DateTime> | callback | Callback with picked date once user is finished. |