XZ_WeChat icon indicating copy to clipboard operation
XZ_WeChat copied to clipboard

聊天页面,按住说话 按钮反应迟钝这个问题怎么解决,微信没有这个问题

Open alekye opened this issue 6 years ago • 2 comments

录音按钮 按住说话 需要按下等一段时间才有反应

alekye avatar Mar 27 '18 03:03 alekye

[[ICRecordManager shareManager] startRecordingWithFileName:self.recordName completion:^(NSError *error) { if (error) { // 加了录音权限的判断

    } else {
        if ([_delegate respondsToSelector:@selector(voiceDidStartRecording)]) {
            NSLog(@"开始录音,111111~~~");
            [_delegate voiceDidStartRecording];
   }
    }
}];

这个方法的block里面做了耗时操作,返回太慢了. 需要你自己优化一下.

xieguangming avatar Mar 29 '18 17:03 xieguangming

OK, About the module of voice, you can use the Third-Party. And I integrate a Demo like QQVoice, And I resolve some issues for fine to use. Demo is Here. https://github.com/CocoaML/QQVoiceDemo

CocoaML avatar Sep 30 '18 10:09 CocoaML