---
title: "How to change title color of a UIViewController in Objective-C?"  
description: "How to change title color of a UIViewController in Objective-C?"  
author: "Anonymous User"  
published: 2016-02-15  
updated: 2016-02-15  
canonical: https://www.mindstick.com/forum/33981/how-to-change-title-color-of-a-uiviewcontroller-in-objective-c  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to change title color of a UIViewController in Objective-C?

I have created a **table [view controller](https://www.mindstick.com/forum/33709/how-to-use-table-view-controller-with-small-sized-in-ios)** which has some elements. and I have also created a **view** **controller** which will come-out whenever we press any **[row](https://www.mindstick.com/forum/1212/this-row-already-belongs-to-this-table)** of [table view](https://www.mindstick.com/forum/33654/send-table-view-cell-value-on-button-action-in-ios).

[Now](https://yourviews.mindstick.com/view/81402/it-s-liberals-vs-progressives-in-us-politics-now), I want to change **[title](https://www.mindstick.com/articles/12860/how-to-get-financing-for-salvage-title-cars)** **[color](https://www.mindstick.com/articles/77/how-to-split-form-background-color-in-c-sharp)** of view controller when ever it pushed onto the stack.

Please give me any suggestion. Thanks.

## Replies

### Reply by Tarun Kumar

To set the title color of [View](https://yourviews.mindstick.com/view/84701/layoffs-in-google-india-2023-view) [Controller](https://www.mindstick.com/blog/273/passing-values-from-controller-to-view-in-asp-dot-net-mvc) after push. set the tintColor property of Navigation Bar.\
Use this code:

```
self.navigationController.navigationBar.tintColor = [UIColor greenColor];
```

and you can set tintcolor globally using code like this:

```
[[UINavigationBar appearance] setTintColor: [UIColor greenColor]];
```

I hope the above suggestion will be helpful for you.


---

Original Source: https://www.mindstick.com/forum/33981/how-to-change-title-color-of-a-uiviewcontroller-in-objective-c

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
