[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"daohang_bg_ios7"] forBarMetrics:UIBarMetricsDefault];
设置导航图片
[[UINavigationBar appearance]setTintColor:[UIColor whiteColor]];
设置title字体颜色
[[UINavigationBar appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],UITextAttributeTextColor, nil]];
设置左右按钮的颜色