Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it? #11

Open
gclsoft opened this issue Jan 28, 2015 · 0 comments
Open

How to use it? #11

gclsoft opened this issue Jan 28, 2015 · 0 comments

Comments

@gclsoft
Copy link

gclsoft commented Jan 28, 2015

    [[UINavigationBar appearance] setBarTintColor:[UIColor midnightBlueColor]];
    NSShadow *shadow = [[NSShadow alloc] init];
    shadow.shadowColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.8];
    shadow.shadowOffset = CGSizeMake(0, 1);
    [[UINavigationBar appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys:
                                                           [UIColor colorWithRed:255.0/255.0 green:255.0/255.0 blue:255.0/255.0 alpha:1.0], NSForegroundColorAttributeName,
                                                           shadow, NSShadowAttributeName,
                                                           [UIFont fontWithName:@"FontAwesome" size:21.0], NSFontAttributeName, nil]];
    // self.navigationController.navigationBar.barTintColor = [UIColor blueColor];
    //[self.navigationController.navigationBar setBarStyle:UIBarStyleBlackTranslucent];
    [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];

How to change it to CRNavigationController?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant