Define default TTTabItem in a TTTabBar
Hi all Does anyone know how to set the default TTTabItem in an TTTabBar? I was able to load the corresponding page as default, but I am no开发者_Go百科t able to check an item as default in the TTTabBar list.
Sofar, always the first TTTabItem is checked.
Thanks and best regards, Doonot
NSInteger default = 0;
[self tabBar:_tabBar tabSelected:default];
精彩评论