uttam uttam - 1 year ago 72
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;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download