tabBarController unLoad itself after call modalView

后端 未结 3 1309
臣服心动
臣服心动 2021-01-29 02:08

I have tabBarController with 6 views. As default tabBarController load first view, I need to load view #6 at my application start, so in my tabBarController I add to viewW

3条回答
  •  一向
    一向 (楼主)
    2021-01-29 02:39

    It looks like You added [self.tabBarController setSelectedIndex:6]; to viewWillAppear instead of viewDidLoad. There is no viewWillLoad there.

提交回复
热议问题