Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UITabBarItem 1 のタイトルを UITabBarItem 4 のタイトルに変更したい。
どちらも同じ UITabBarController にあります。
これらのタイトルを変更するにはどうすればよいですか?
NSArray * items = tabBar.items ; ((UITabBarItem*)[ items objectAtIndex:0 ]).title = ((UITabBarItem*)[ items objectAtIndex:3 ]).title