I am trying to implement tabbar in my 2nd view.
I am able to place tabbar with 5 items on it. I know to handle those click events , i have to use tabbarcontroller.
My question is , taking tabbar on view,
How to call each item selected method without tabbarcontroller?
(My assumption is that tabbar is an object like button , and we can write a click method for that programmatically. So without Tab Controller also, we can access selected item method )
Is there any way to do that?
If you don’t want to use tabbarcontroller, then its always better to use Segmented Control.
It has similar kind of operations & its also simple to use. Use need to just create multiple uiviews on view & just play Hide-n-seek with them. If you want I have some code. Will paste here, if you want.