Navigation title and its color
// Put Code In Your ViewDidLoad()
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:1] animated:YES];
UIBarButtonItem *anotherButton1 = [[UIBarButtonItem alloc] initWithTitle:@"Home" style:UIBarButtonItemStylePlain target:self action:@selector(Save)];
self.navigationItem.leftBarButtonItem = anotherButton1;
// Navigation title and its color...
self.title=@"RECEIVE JOB";
self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:44.0/255.0 green:144/255.0 blue:255/255.0 alpha:1.0];
[self.navigationController.navigationBar setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys:
[UIColor whiteColor], NSForegroundColorAttributeName,
[UIFont fontWithName:@"HelveticaNeue" size:18], NSFontAttributeName, nil]];
UINavigationBar *bar = [self.navigationController navigationBar];
[bar setTintColor:[UIColor whiteColor]];
Comments
Post a Comment
Thank You.