The first step:
Add a field to Info.plist: The View controller-base status bar is set to No;
Navigation color
[[Uinavigationbar appearance] Setbartintcolor:[uicolor XXXX];
[[UITableViewCell appearance] Setbackgroundcolor:[uicolor XXXX];
Set status bar (signal area) white
[[UIApplication sharedapplication] setstatusbarstyle:uistatusbarstyledefault];
Default with a certain transparency effect, you can use the following methods to remove system effects
[Navigationcontroller.navigationbar Settranslucent:no];
Change the navigation title font size and color to be set on the first level page as follows
Set the color and font size of the navigation default title
Self.navigationController.navigationBar.titleTextAttributes = @{uitextattributetextcolor: [Uicolor Whitecolor], Uitextattributefont:[uifont Boldsystemfontofsize:18]};
Step Two:
Uiimagerenderingmodealwaysoriginal let the picture show the pattern as the original style of the picture used to remove the system added color
if ([[Uidevice Currentdevice] Systemversion].floatvalue >= 8.0) {
Self.tabbaritem = [[Uitabbaritem alloc] initwithtitle:@ "title" Image:[[uiimage imagenamed:@ "Image.png"] Imagewithrenderingmode:uiimagerenderingmodealwaysoriginal] selectedimage:[[uiimage imageNamed:@ "ImageS.png"] Imagewithrenderingmode:uiimagerenderingmodealwaysoriginal]];
}else{
Self.tabBarController.tabBarItem.title = @ "title";
if ([[Uidevice Currentdevice] Systemversion].floatvalue >= 7.0) {
[Self.tabBarController.tabBarItem setfinishedselectedimage:[[uiimage imagenamed:@ "Image.png"] Imagewithrenderingmode:uiimagerenderingmodealwaysoriginal] Withfinishedunselectedimage:[[uiimage imageNamed:@ " Images.png "] imagewithrenderingmode:uiimagerenderingmodealwaysoriginal];
}else{
[Self.tabBarController.tabBarItem setfinishedselectedimage:[uiimage imagenamed:@ "Image.png"] Withfinishedunselectedimage:[uiimage imagenamed:@ "Images.png"];
}
}
Tabbar color used to change font color
[Self.tabBarController.tabBar Settintcolor:[uicolor XXXX]];
Settings and usage of iOS settings navigation with its title color and font size and system default Tabbar