MFMailComposeViewController + UINavigationController iPhone
<p>I used custom navigation bar within my application,</p>

<pre><code>// 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
</code></pre>

<p>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. </p>

<p>How do I achieve this?</p>
