One Logo Pool Ball
UIKit · IOS API REFERENCE

UINotificationFeedbackGenerator

class · iOS 10.0+ · SDK 27.1

@MainActor class UINotificationFeedbackGenerator

Members (3)

init

init

TypeScript
static init(): Promise<UINotificationFeedbackGenerator>
Swift declaration
init()
method · iOS 10.0+

notificationOccurred

TypeScript
notificationOccurred(notificationType: UINotificationFeedbackGenerator_FeedbackType): Promise<void>
Swift declaration
func notificationOccurred(_ notificationType: UINotificationFeedbackGenerator.FeedbackType)
method · iOS 17.5+

notificationOccurred

TypeScript
notificationOccurredAt(notificationType: UINotificationFeedbackGenerator_FeedbackType, location: { x: number; y: number }): Promise<void>
Swift declaration
func notificationOccurred(_ notificationType: UINotificationFeedbackGenerator.FeedbackType, at location: CGPoint)

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →