I am developing an iOS application with UITabBarController. I want to set the user interaction of the first tabbaritem will be NO in the second child viewController(One button action), ie the view flow is:
firstTabbarItem -> firstChildView ->secondChildView ->buttonClick(set firstTabbarItem userInteraction is NO).
How can implement this?
You can access the tab bar item directly:
Just call that in your button handler.