編輯

共用方式為


UIDatePickerMode Enum

Definition

An enumeration of modes available to the UIDatePicker.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDatePickerMode
type UIDatePickerMode = 
Inheritance
UIDatePickerMode
Attributes

Fields

Name Value Description
Time 0

Time selector.

Date 1

Date selector.

DateAndTime 2

Date and time selector.

CountDownTimer 3

A count-down timer.

Remarks

Valid modes for the UIDatePicker.

Applies to