mzeeshanid / iOS-Speech-To-Text

This library use the Google Voice API and the Speex audio codec for speech-to-text on iOS
GNU General Public License v2.0
55 stars 23 forks source link

Crashing the application #4

Open jogshardik opened 9 years ago

jogshardik commented 9 years ago

I have used SWRevealViewcontroller for slide left and right.

When i am pressing the speechtotext button and initialize the SpeechToTextModule and then i am swipe right and clicked on other tab on the left menu bar the app is crashing on Wavedisplay dealloc method.

Here is my code

fakeTextField = [[UITextField alloc] initWithFrame:CGRectZero];

[fakeTextField setHidden:YES];

[self.view addSubview:fakeTextField];

self.speechToTextObj = [[SpeechToTextModule alloc] initWithCustomDisplay:@"SineWaveViewController"];

[self.speechToTextObj setDelegate:self];

![Uploading Screen Shot 2015-06-12 at 12.54.22 pm.png…]()