From ee9d16cb2792f19ef743b20126d4a2b8eb46091b Mon Sep 17 00:00:00 2001 From: Daniel Riera Date: Tue, 1 Dec 2015 20:24:42 +0100 Subject: [PATCH] =?UTF-8?q?Xcode=20se=20queja=20"Estos=20siempre=20se=20ev?= =?UTF-8?q?aluar=C3=A1=20como=20true"=20no=20es=20necesario=20"&"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ios/APPBackgroundMode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/APPBackgroundMode.m b/src/ios/APPBackgroundMode.m index 7fcaf6b..da4b5a8 100644 --- a/src/ios/APPBackgroundMode.m +++ b/src/ios/APPBackgroundMode.m @@ -49,7 +49,7 @@ NSString *const kAPPBackgroundEventFailure = @"failure"; { NSNotificationCenter* listener = [NSNotificationCenter defaultCenter]; - if (&UIApplicationDidEnterBackgroundNotification && &UIApplicationWillEnterForegroundNotification) { + if (UIApplicationDidEnterBackgroundNotification && UIApplicationWillEnterForegroundNotification) { [listener addObserver:self selector:@selector(keepAwake)