My app is structured like this:
- Window
- Navigation controller
- Table view
- Button (in one of the rows)
- Tab bar controller
- tab..
- tab..
- tab..
(The tab bar controller isn’t added as a sub view so it can’t be seen)
How would you make the button able to manipulate the Navigation controller and tab bar controller objects?
Well you could have them as properties in your
AppDelegatelike this:And than in your table view you can get a pointer to them like this:
After this you can have your button do whatever you want to them. Let me know if this works for you.