我陷入了这样一种情况,我想要更改tabbar的默认文本更多按钮,在我的情况下我们需要7个选项卡和iOS移动更多的附加选项卡,我想更改该选项卡的文本。
任何人都可以帮助吗?
提前致谢
您可以像这样更改标题和图标:
迅速:
tabBarController?.moreNavigationController.tabBarItem = UITabBarItem(title: "Title", image: UIImage(named: "image"), tag: 0)
Objective-C的
tabBarController.moreNavigationController.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"Title" image:[UIImage imageNamed:@"imageName"] tag:0];