fix(ios): add application will enter foreground listener [iOS] (#2158)

This commit is contained in:
Daniil Ovoshchnikov 2019-03-20 15:46:03 +01:00 committed by Sibelius Seraphini
parent d6485828fd
commit 773d5e88ba

View File

@ -63,6 +63,10 @@ static NSDictionary *defaultFaceDetectorOptions = nil;
selector:@selector(bridgeDidBackground:)
name:UIApplicationDidEnterBackgroundNotification
object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(bridgeDidForeground:)
name:UIApplicationWillEnterForegroundNotification
object:nil];
self.autoFocus = -1;
// [[NSNotificationCenter defaultCenter] addObserver:self
// selector:@selector(bridgeDidForeground:)