I've been developed an app for iOS7 which has this design
As you can see there's a blue arrow for all my BackButton (using UINavigationController and segues), I want to make them red, this is my code:
[UIBarButtonItem appearance]setTintColor:(UIColorFromRGB(toolbarTintColor))];
[[UIBarButtonItem appearance]setTitleTextAttributes:textAtributesDictionaryNavBarButtons forState:UIControlStateNormal];
but results only applies to all other buttons, any help I'll appreciate
thanks in advance for the support
Turn on Back Tap Check that you have the latest version of iOS on your iPhone 8 or later. Go to Settings > Accessibility > Touch, and tap Back Tap. Tap Double Tap or Triple Tap and choose an action. Double or triple tap on the back of your iPhone to trigger the action you set.
The tint color property of a navigation bar determines the color of the text of its bar button items in iOS 7. The code you are looking for is something like this:
[[UINavigationBar appearance] setTintColor:[UIColor redColor]];
and, of course, replacing [UIColor redColor]
with whatever color you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With