I have a simple UITextView with an email link. A text image is selected and detects links. That way you can click on the email and it opens using the MFMailComposeViewController view manager.
But, I do some settings when starting the application:
[[UINavigationBar appearance] setBarTintColor: myGreyColor]; [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor whiteColor], NSFontAttributeName: myFont}]; [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
Thus, all navigation panels are gray, with white text and white buttons, and the title has its own font.
My problem is that they all do not apply to the mail composer: the bar is gray and the title is white, but the default font is helvetica neue and the buttons are default. And the status bar is black, although my Info.plist says that UIStatusBarStyleLightContent and View controller-based status bar appearance set to NO .
I know how to configure MFMailComposeViewController when I call it manually, but here it appears automatically. How can I apply my styles to it?
source share