问题
I created a custom UITabBar, like this:
and I want when the user clicks on any tab, to open the corresponding content, (which is in both cases tableView)
i thought that i have to add two view controllers and then call them whenever a bar clicks. so i ended up like this:
then i saw my problem, i am not loading the content of the view controller inside but when a user clicks in my case now, a new view controller opens. what am i missing please?
来源:https://stackoverflow.com/questions/34245150/how-to-fire-the-tabs-in-a-custom-uitab-bar