self.tabBarItem.title not working?

前端 未结 2 698
挽巷
挽巷 2020-12-15 08:41

In my iPhone application, I have a tab bar. This tab bar holds a UINavigationController. I have:

  • In Interface Builder set the tab item title to \'Create New\'<
2条回答
  •  暖寄归人
    2020-12-15 08:48

    I found if I used self.navigationItem.title = 'Blah'; instead of self.title, it would work.

提交回复
热议问题