I register my VC for UIApplicationDidEnterBackgroundNotification
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationDidEnterBackgroundNotification:) name:UIApplicationDidEnterBackgroundNotification object:nil];
However the notification gets triggered when the app enters foreground, not when it entered background
I assume
- that the notification callback happens in next run loop, however, when the app enters background, this next runloop is executed when the app enters foreground
Is there any workaround for this to act really on Entering background?