You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
350 B

#import "SpeechPlugin.h"
#if __has_include(<speech/speech-Swift.h>)
#import <speech/speech-Swift.h>
#else
#import "speech-Swift.h"
#endif
@implementation SpeechPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
// 正确调用 Swift 类的静态方法
[SwiftSpeechPlugin registerWithRegistrar:registrar];
}
@end