2

initWithTabBarSystemItemで作成されたUITabBarItemのタイトルを取得したいのですが

UITabBarItem *item = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemTopRated tag:1];

ただし、タイトルを送信すると、常にnilが返されます。

UITabBarControllerに表示されるタイトルを取得する方法はありますか?

UITabBarControllerはどのようにしてこのタイトルを取得しますか?

4

0 に答える 0