uttam uttam - 1 month ago 7x
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.


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

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