1. Set the picture (checked and unchecked)
uitabbaritem *tuijianitem=[[uitabbaritem alloc]initwithtitle: @ "my" image : [[UIImage imagenamed: @ "index_bottom07_"] imagewithrenderingmode: Uiimagerenderingmodealwaysoriginal] selectedimage: [[UIImage imagenamed: @ " Index_bottom08_ "] imagewithrenderingmode:uiimagerenderingmodealwaysoriginal]];
2. Set the selected state font color
[tabbaritem settitletextattributes: [nsdictionary Dictionarywithobjectsandkeys :
[uifont fontwithname: @ "helvetica-bold" size: 10],
nsfontattributename, [uicolor colorwithred: 153/255.0 green: 153/255.0 Blue : 153/255.0 Alpha: 1],nsforegroundcolorattributename,
Nil] forstate:uicontrolstatenormal];
3. General Settings
Uitabbarcontroller *tabbar=[[uitabbarcontroller Alloc]init];
Tab[email Protected][_homenav,_ershounav,_ordernav,_tuijiannav];
TabBar.view.backgroundColor = [Uicolor Whitecolor];
Tabbar.selectedindex = 0;//Default Display page
tabbar.delegate=self;
About the settings for Uitabbarcontroller (IOS development)