开发者

Are you able to choose the starting tab for a TabBarController?

Is 开发者_运维问答there a method for choosing the starting tab for a TabBarController?


Yes. In a view controller:

self.tabBarController.selectedIndex = n;

You can also set selectedViewController, if that is easier for you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜