iOS uses the standard (blue) color cast for all color texts in the MFMailComposeViewController. This is not good for me, as the client wants his company color in the application. How to change color to orange?
I specifically ask about the colors of the button icons (add the image and the image of the bell) and texts containing mail addresses. I have already changed the colors of the navigation bars. The documentation says:
The presentation hierarchy of this class is private, and you should not modify it. However, you can customize the appearance of the instance using the UIAppearance protocol.
I tried to use it, but it does not work (I can do it wrong, since I do not know UIAppearance). This is what I tried:
[[UIButton appearanceWhenContainedIn:[MFMailComposeViewController class], nil] setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal]; [[UILabel appearanceWhenContainedIn:[MFMailComposeViewController class], nil] setTextColor:[UIColor orangeColor]];

source share