?/* Appdelegate */
set the white navigation bar
-(uistatusbarstyle) Preferredstatusbarstyle
{
return uistatusbarstylelightcontent;
}
?/* Controller */
Fix the size of the text displayed on the navigation bar ( pin for all interfaces )
nsdictionary *dic = @{nsforegroundcolorattributename: [uicolor cyancolor], Nsfontattributename: [uifont systemfontofsize:]};
self. Navigationcontroller. Navigationbar. Titletextattributes = dic;
//
?// Configure the navigation bar , the same as the navigation bar effect of all the interface after the configuration is completed
-(void) Configuernavigationbarcommonproperty
{
// Modify the color of the navigation bar
Self.navigationController.navigationBar.backgroundColor = [Uicolor Graycolor];
// Modify the render color of the navigation bar
self. Navigationcontroller. Navigationbar. Tintcolor = [uicolor magentacolor];
// Turn off the glass effect of the navigation bar
self. Navigationcontroller. Navigationbar. Translucent = YES;
// when the nav bar glass effect is turned off , the contentview of the navigation controller is shifted downward by
// Hide navigation bar
self. Navigationcontroller. Navigationbarhidden = NO;
// navigation bar settings Picture
[self. Navigationcontroller. Navigationbar setbackgroundimage: [UIImage imagenamed:@ "32000.png"] Forbarmetrics:uibarmetricsdefault];
/**
* picture size >44 or >44 <64, picture tiled display to status bar and navigation bar
when the picture size =44 picture will only display in the navigation bar ,
=64 when the picture will love you are in the status bar and the navigation bar
*/
}
Configure the navigation bar