Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android集成成功,IOS编辑通过,但启动后xcode #32

Open
helloshuang opened this issue Aug 3, 2018 · 0 comments
Open

Android集成成功,IOS编辑通过,但启动后xcode #32

helloshuang opened this issue Aug 3, 2018 · 0 comments

Comments

@helloshuang
Copy link

image

//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];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant