In my app I go back to rootViewController via:
self.navigationController?.popToRootViewController(animated: true)
Now i want to call a function from my rootViewController only when i come back using popToRootViewController. Is there a possibility for this?