我想获得使用initWithTabBarSystemItem 创建的 UITabBarItem 的标题:
UITabBarItem *item = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemTopRated tag:1];
但是,向它发送标题,总是返回 nil。
有没有办法获得在 UITabBarController 上显示的标题?
UITabBarController 是如何得到这个称号的?
我想获得使用initWithTabBarSystemItem 创建的 UITabBarItem 的标题:
UITabBarItem *item = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemTopRated tag:1];
但是,向它发送标题,总是返回 nil。
有没有办法获得在 UITabBarController 上显示的标题?
UITabBarController 是如何得到这个称号的?