I have UITabBarController with 5 tabs, how can I set tabs titles while launching the application? The reason behind this is because I want to display tabs titles based on system language (English or Spanish for example)
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Setting the tabbar’s titles is pretty easy:
This sets up a tabbarcontroller programmatically in your app delegate’s applicationDidFinishLaunching method. It is assumed you have all viewcontrollers put in the viewControllers array. You may skip that section, if you have set up your tabbarcontroller via ib.
You may set the titles by:
When it comes to multilingual projects, have a look here. Put all your localized strings into plist files and start with iOS’ localization methods. Once started, it is very handy.