JKScreenRecorder icon indicating copy to clipboard operation
JKScreenRecorder copied to clipboard

如果我把 麦克风录制打开 停止的时候不走回调

Open LeeWongSnail opened this issue 6 years ago • 3 comments

[[RPScreenRecorder sharedRecorder] stopRecordingWithHandler:^(RPPreviewViewController *previewViewController, NSError * error) { if (error) { NSLog(@"停止录屏失败"); } else { previewViewController.previewControllerDelegate = self; } dispatch_async(dispatch_get_main_queue(), ^{ if (handler) { handler(previewViewController,nil,error); } }); }];

等了很久不走回调

LeeWongSnail avatar May 03 '18 10:05 LeeWongSnail

我也是不走回调、请问该如何解决呢

huyinjun avatar May 09 '18 10:05 huyinjun

@huyinjun 录屏相关的可以看一下我的这个 https://github.com/LeeWongSnail/LeeReplayKitDemo

LeeWongSnail avatar May 09 '18 13:05 LeeWongSnail

...@LeeWongSnail 你这个解决了呗

shaojiankui avatar May 10 '18 09:05 shaojiankui