uttam uttam - 11 months ago 52
Objective-C Question

how can i change the navigation bar of MFMailComposeViewController?

i want to change the navigation bar of MFMailComposeViewController to black color.

how can i change.

Answer Source

Note that MFMailComposeViewController inherits from UINavigationController so it also has navigationBar property.

MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.navigationBar.barStyle = UIBarStyleBlack;