I'm trying to do something that is probably a bit unorthodox, but I have a UITabBarController that I want to add 4 tabs to, but all i want to do is capture the tab bar controller's selectedIndex inside of didSelectViewController and perform any needed actions on my own.
I don't need to hide or show any views, just load different urls into a webview i already have loaded. the problem is that i don't know how to add these tabs other than to set the viewControllers property. Is there any way to accomplish what I want?
Btw, I'm creating the UITabBarController programmatically
I don't need to hide or show any views, just load different urls into a webview i already have loaded. the problem is that i don't know how to add these tabs other than to set the viewControllers property. Is there any way to accomplish what I want?
Btw, I'm creating the UITabBarController programmatically