marinofaggiana 4 年之前
父节点
当前提交
eb8e004e20
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      iOSClient/AppDelegate.m

+ 4 - 0
iOSClient/AppDelegate.m

@@ -202,6 +202,8 @@
 {
     if (self.account == nil || self.account.length == 0) { return; }
     
+    [[NCCommunicationCommon shared] writeLog:@"Application will enter in foreground"];
+    
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationWillEnterForeground object:nil];
     
     // Request Passcode
@@ -252,6 +254,8 @@
 {
     if (self.account == nil || self.account.length == 0) { return; }
 
+    [[NCCommunicationCommon shared] writeLog:@"Application did enter in background"];
+
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationDidEnterBackground object:nil];
     
     [self passcodeWithAutomaticallyPromptForBiometricValidation:false];