2

I used custom navigation bar within my application,

// appdelegate.h

@implementation UINavigationBar(customNavBar)

- (void)drawRect:(CGRect)rect{    
    UIImage *navBarImage = [UIImage imageNamed:@"navBar.png"];
    [navBarImage drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
}

@end

It works fine, but when I use a MFMailComposeViewController for sending an email, it appears with custom navigation bar. Here I don't want the customized navigation bar, I want it to be default.

How do I achieve this?

Vladimir
  • 170,431
  • 36
  • 387
  • 313
SST
  • 2,040
  • 5
  • 26
  • 42

1 Answers1

1

Here is the example of custom navigation bar for each navigation.

in your case you have to modify that code to your needs.

Change Navigation bar Background image on each navigation

Community
  • 1
  • 1