Upravit

Sdílet prostřednictvím


UIApplication.IdleTimerDisabled Property

Definition

If true, indicates that the screen should not dim even when no input is occurring.

public virtual bool IdleTimerDisabled { [Foundation.Export("isIdleTimerDisabled")] get; [Foundation.Export("setIdleTimerDisabled:")] set; }
member this.IdleTimerDisabled : bool with get, set

Property Value

The default value is false.

Attributes

Remarks

The idle timer dims the screen after some amount of time has passed without user interaction. Application developers who wish to keep the screen fully powered can set this property to true. For instance, games whose input is restricted to the accelerometer may set this value to true.

Applies to