Maybe a stupid question but I have to do it as soon as possible. My problem is:
I have four tabbar controllers A,B,C,D and these are imported a viewcontroller (suppose name button controller) at the navigation bar.
So, A,B,C,D are importing this buttonview controller like this #import buttonViewController.h in every .h file of A,B,C,D tabbar controller.
Now problem is, in buttonViewController I have a button which action calling the “A” tabbar controller or “B”, “C”,or “D” tabbar controller.
I have already added buttonViewController in every A,B,C,D tabbarcontroller.
How can I do this?
Ha ha ha …..it was so much fun when i solved it.whatever i solved this problem in different way, i did not use scrollview button controller for controller just, in every controller i have made function to where buttons within a scrollview create and on action of button i have just change the selected index of the tabbar controller.
in
-(void)viewDidloadi wrote this codehere is the button create and action