在iOS5或者以上修改Navigation bar的颜色

在iOS5或者以上修改Navigation bar的颜色

在AppDelegate.m里面的didFinishLaunchingWithOptions:方法加入以下的语句。

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.
    [[UINavigationBar appearance] setTintColor:[UIColor blueColor]];
    return YES;
}

  

posted @ 2013-01-13 13:04  Jake Lin  阅读(1176)  评论(0编辑  收藏  举报