Change UITabBarController Complementary Product Colors

I have a UITabBarController with the More tab, whose color scheme I would like to change.

Navigation panels Nav Bar Colors

I managed to change the background color of the Advanced tab of the UINavigationController by subclassing UITabBarController and adding the following code to the ViewDidLoad method:

UINavigationController *moreController = self.moreNavigationController; moreController.navigationBar.tintColor = [UIColor redColor]; 

I would also like to change the color of the text on the Nav controller, but could not determine how to do this.

Table highlight color

I want to disable or change the highlight color for the Advanced tab of a UITableView. I do not want to disable the option to select, I just want to change or remove the blue backlight.

I see where I can change the SelectedTextColor property for texLabel UITableViewCell, but I'm not sure how and when to set it, given that I am not a table data source.

Change the color of the View navigation bar

When the "Edit" button is selected, the navigation bar at the top returns to the main blue color.

Is there a way to access this navigation bar to change the color of the hue?

+4
source share
1 answer

The way I changed the "More" section in the UITabBarController is simply to click on another UITableView and just create the cells that interest me, which were initially displayed in the standard "More" section.

All I do is simply add a UITabBarItem with three dots mimicking the original More icon. This way you have complete control over the performance.

+1
source

Source: https://habr.com/ru/post/1304884/


All Articles