編輯

共用方式為


UIDevice.PlayInputClick Method

Definition

Plays the system "click" event in response to user taps.

[Foundation.Export("playInputClick")]
public virtual void PlayInputClick ();
abstract member PlayInputClick : unit -> unit
override this.PlayInputClick : unit -> unit
Attributes

Remarks

This method plays the standard system "keyboard click" sound when a user taps an input view or keyboard accessory view, with certain restrictions:

This can be used from a background thread.

Applies to