开发者

Define default TTTabItem in a TTTabBar

开发者 https://www.devze.com 2023-02-28 22:36 出处:网络
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 TTTabBa

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];
0

精彩评论

暂无评论...
验证码 换一张
取 消