开发者

MFMailComposeViewController + UINavigationController iPhone

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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜