共用方式為


UINotificationFeedbackGenerator.NotificationOccurred 方法

定義

呼叫時,系統會產生適合 的觸覺。

[Foundation.Export("notificationOccurred:")]
public virtual void NotificationOccurred (UIKit.UINotificationFeedbackType notificationType);
abstract member NotificationOccurred : UIKit.UINotificationFeedbackType -> unit
override this.NotificationOccurred : UIKit.UINotificationFeedbackType -> unit

參數

notificationType
UINotificationFeedbackType
屬性

適用於