Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

reuse background context

roryclearae4fbb78da79
diff --git a/clearcam/FileServer.m b/clearcam/FileServer.m
index 05cafef..2a2ea29 100644
--- a/clearcam/FileServer.m
+++ b/clearcam/FileServer.m
@@ -26,9 +26,9 @@
//TODO REMOVE THIS
- //[[NSUserDefaults standardUserDefaults] removeObjectForKey:@"LastDeletedDayIndex"];
- //[[NSUserDefaults standardUserDefaults] removeObjectForKey:@"LastDeletedSegmentIndex"];
- //[[NSUserDefaults standardUserDefaults] synchronize];
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"LastDeletedDayIndex"];
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"LastDeletedSegmentIndex"];
+ [[NSUserDefaults standardUserDefaults] synchronize];
NSFileManager *fileManager = [NSFileManager defaultManager];
NSURL *documentsURL = [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] firstObject];