When the view controller is presented within a tab bar controller, you can access the tab bar controller like this:
Swift
let tabBarController = viewController.tabBarController
Objective-C
UITabBarController *tabBarController = self.tabBarController;
When the view controller is part on an n...