You can use a notification here. Create a listener for this notification in the viewDidLoad of the viewController and assign the function to it. eg:
in yourView controller add the following in the viewDidLoad
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notificationEnabled) name:UIApplicationDidEnterBackgroundNotification object:nil];