#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include() // // UINotificationFeedbackGenerator.h // UIKit // // Copyright © 2016-2018 Apple Inc. All rights reserved. // #import NS_HEADER_AUDIT_BEGIN(nullability, sendability) typedef NS_ENUM(NSInteger, UINotificationFeedbackType) { UINotificationFeedbackTypeSuccess, UINotificationFeedbackTypeWarning, UINotificationFeedbackTypeError }; // UINotificationFeedbackGenerator is used to give user feedback when an notification is displayed UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR @interface UINotificationFeedbackGenerator : UIFeedbackGenerator /// call when a notification is displayed, passing the corresponding type - (void)notificationOccurred:(UINotificationFeedbackType)notificationType; @end NS_HEADER_AUDIT_END(nullability, sendability) #else #import #endif