[ios] Added tts settings help event to statistics.

This commit is contained in:
Илья Гречухин 2015-11-20 14:17:04 +03:00
parent dbc90e2915
commit f02034b30a

View file

@ -137,6 +137,7 @@ using namespace std;
}
else if (indexPath.section == 1)
{
[[Statistics instance] logEvent:kStatEventName(kStatTTSSettings, kStatHelp)];
NSString * path = [[NSBundle mainBundle] pathForResource:@"tts-how-to-set-up-voice" ofType:@"html"];
NSString * html = [[NSString alloc] initWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
NSURL * baseURL = [NSURL fileURLWithPath:path];