Add object detection, tracking, mobile notifications, and search to any security camera.
non crashing reset ui
roryclear015a532a453d
diff --git a/clearcam/ViewController.m b/clearcam/ViewController.mindex e50d3a5..bbda3a0 100644--- a/clearcam/ViewController.m+++ b/clearcam/ViewController.m@@ -396,8 +396,9 @@ NSMutableDictionary *classColorMap;[subview removeFromSuperview];}- // Remove all sublayers- for (CALayer *sublayer in self.view.layer.sublayers) {+ // Remove all sublayers (using a copy of the sublayers array)+ NSArray<CALayer *> *sublayers = [self.view.layer.sublayers copy];+ for (CALayer *sublayer in sublayers) {[sublayer removeFromSuperlayer];}