how to create a tabbar programmatically and adding buttons on it

前端 未结 2 1497
猫巷女王i
猫巷女王i 2020-12-17 05:20

i want to add buttons on to my tab bar programmatically in my view...

i am having navigation controller but it does not allow me to add these .. i want to create pro

2条回答
  •  别那么骄傲
    2020-12-17 05:58

    You have to keep a reference to the tab bar controller. For instance you might keep it in the App Delegate...

提交回复
热议问题