react-native-speech-iflytek
react-native-speech-iflytek copied to clipboard
Android集成成功,IOS编辑通过,但启动后xcode

//Set log level [IFlySetting setLogFile:LVL_ALL];
//Set whether to output log messages in Xcode console [IFlySetting showLogcat:YES];
//Set the local storage path of SDK NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); NSString *cachePath = [paths objectAtIndex:0]; [IFlySetting setLogFilePath:cachePath];
//Set APPID NSString *initString = [[NSString alloc] initWithFormat:@"appid=%@", @"5b62e512"];
//Configure and initialize iflytek services.(This interface must been invoked in application:didFinishLaunchingWithOptions:) [IFlySpeechUtility createUtility:initString];