LLSimpleCamera icon indicating copy to clipboard operation
LLSimpleCamera copied to clipboard

Close a session & start another one leads to display the last state for every shoot

Open yahyaalshaar opened this issue 8 years ago • 5 comments

Hi guys great library & easy to use thank you 👍

The problem appear when close the camera session & restart another one, when trying to capture a photo the last state of the previous camera session will appear every capture shoot for a while before display the captured photo

You can replicate the problem by add [camera stop] to the existing sample in viewWillDisappear

-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    [self.camera stop];
}

How to solve & thanks in advance :)

yahyaalshaar avatar May 18 '16 11:05 yahyaalshaar

Ahhh yeah had this same issue

irosenb avatar Jun 02 '16 03:06 irosenb

same issue

shtnkgm avatar Aug 14 '16 07:08 shtnkgm

Version 4.2.0 worked correctly. I installed 4.2.0 instead of 5.0.0.

shtnkgm avatar Aug 14 '16 08:08 shtnkgm

Same issue on 5.0.0 :(

cooliopas avatar Dec 29 '16 22:12 cooliopas

I fixed it by commenting

  • (void)stop { [self.session stopRunning]; // self.session = nil; }

on LLSimpleCamera.m

cooliopas avatar Dec 29 '16 22:12 cooliopas