// // QXHapticManager.h // QXLive // // Created by 启星 on 2025/12/5. // #import #import NS_ASSUME_NONNULL_BEGIN @interface QXHapticManager : NSObject + (instancetype)shared; // 检查是否支持触觉反馈 + (BOOL)isHapticFeedbackSupported; // 各种触觉反馈方法 - (void)impactWithStyle:(UIImpactFeedbackStyle)style; - (void)impactMedium; - (void)notificationWithType:(UINotificationFeedbackType)type; - (void)selectionChanged; // 带准备的触觉反馈 - (void)prepareImpactWithStyle:(UIImpactFeedbackStyle)style; - (void)triggerPreparedImpact; @end NS_ASSUME_NONNULL_END