Skip to content

Commit

Permalink
Fixed issue, when camera does not properly started capturing, after v…
Browse files Browse the repository at this point in the history
…iewing the view again in fully glory.
  • Loading branch information
digitalergonom committed Aug 16, 2014
1 parent 917646b commit bdf73ee
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ - (void)viewWillDisappear:(BOOL)animated
[super viewWillDisappear:animated];
}

- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];

// Note: I needed to start camera capture after the view went on the screen, when a partially transition of navigation view controller stopped capturing via viewWilDisappear.
[videoCamera startCameraCapture];
}

- (void)viewDidUnload
{
[super viewDidUnload];
Expand Down

0 comments on commit bdf73ee

Please sign in to comment.