Skip to content

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

remove appDidBecomeActive

roryclear61903e8dd85c
diff --git a/ios/clearcam/GalleryViewController.m b/ios/clearcam/GalleryViewController.m
index 146ab4e..f454d42 100644
--- a/ios/clearcam/GalleryViewController.m
+++ b/ios/clearcam/GalleryViewController.m
@@ -92,10 +92,6 @@
- (void)viewDidLoad {
[super viewDidLoad];
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(appDidBecomeActive)
- name:UIApplicationDidBecomeActiveNotification
- object:nil];
self.fileServer = [FileServer sharedInstance];
[self.fileServer start];
[self.navigationController setNavigationBarHidden:YES animated:NO];
@@ -245,11 +241,6 @@
[self getEvents];
}
-- (void)appDidBecomeActive {
- self.isLoadingVideos = NO;
- [self getEvents];
-}
-
- (void)updateInternetStatus {
[[StoreManager sharedInstance] checkInternetWithCompletion:^(BOOL hasInternet) {
dispatch_async(dispatch_get_main_queue(), ^{
@@ -1078,3 +1069,4 @@
@end
+