fix(ios): add application will enter foreground listener [iOS] (#2158)
This commit is contained in:
parent
d6485828fd
commit
773d5e88ba
@ -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:)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user